* SPICE netlist
VD D 0 PULSE(0 3.3 7.5n 1p 1p 10n 20n) AC 1
M1 o1 N001 0 0 iucreate_nmos l=0.5u w=1.5u
M2 o1 N001 VDD VDD iucreate_pmos l=0.5u w=3.5u
M3 N002 o1 0 0 iucreate_nmos l=0.5u w=1.5u
M4 N002 o1 VDD VDD iucreate_pmos l=0.5u w=3.5u
ISET o1 0 EXP(0 0.5m 22n 10p 22.001n 5n)
D1 0 o1 D
M7 N001 CLKB D 0 iucreate_nmos l=0.5u w=1.5u
VCLK CLK 0 PULSE(0 3.3 5n 1p 1p 5n 10n) AC 1
M8 D CLK N001 VDD iucreate_pmos l=0.5u w=1.5u
M9 CLKB CLK 0 0 iucreate_nmos l=0.5u w=1.5u
M10 CLKB CLK VDD VDD iucreate_pmos l=0.5u w=3.5u
M5 N001 CLK N002 0 iucreate_nmos l=0.5u w=1.5u
M6 N002 CLKB N001 VDD iucreate_pmos l=0.5u w=1.5u
M11 Q N003 0 0 iucreate_nmos l=0.5u w=1.5u
M12 Q N003 VDD VDD iucreate_pmos l=0.5u w=3.5u
M13 N004 Q 0 0 iucreate_nmos l=0.5u w=1.5u
M14 N004 Q VDD VDD iucreate_pmos l=0.5u w=3.5u
M15 N003 CLK o1 0 iucreate_nmos l=0.5u w=1.5u
M16 o1 CLKB N003 VDD iucreate_pmos l=0.5u w=1.5u
M17 N003 CLKB N004 0 iucreate_nmos l=0.5u w=1.5u
M18 N004 CLK N003 VDD iucreate_pmos l=0.5u w=1.5u
VDD VDD 0 3.3 AC 1
.op
+ GAMMA = 0.5483559 PHI = 0.7 VTO = 0.7640855
+ DELTA = 3.0541177
+ UO = 662.6984452
+ ETA = 3.162045E-6
+ THETA = 0.1013999
+ KP = 1.259355E-4
+ VMAX = 1.442228E5
+ KAPPA = 0.3
+ RSH = 7.513418E-3
+ NFS = 1E12
+ TPG = 1
+ XJ = 3E-7
+ LD = 1E-13
+ WD = 2.334779E-7
+ CGDO = 2.15E-10
+ CGSO = 2.15E-10
+ CGBO = 1E-10
+ CJ = 4.258447E-4
+ PB = 0.9140376
+ MJ = 0.435903
+ CJSW = 3.147465E-10
+ MJSW = 0.1977689 )
+ GAMMA = 0.6243261 PHI = 0.7 VTO = -0.9444911
+ DELTA = 0.1118368
+ UO = 250
+ ETA = 0
+ THETA = 0.1633973
+ KP = 3.924644E-5
+ VMAX = 1E6
+ KAPPA = 30.1015109
+ RSH = 33.9672594
+ NFS = 1E12
+ TPG = -1
+ XJ = 2E-7
+ LD = 5E-13
+ WD = 4.11531E-7
+ CGDO = 2.34E-10
+ CGSO = 2.34E-10
+ CGBO = 1E-10
+ CJ = 7.285722E-4
+ PB = 0.96443
+ MJ = 0.5
+ CJSW = 2.955161E-10
+ MJSW = 0.3184873 )
.tran 0 100n 0.1n
.meas TRAN QCOL INTEG I(ISET)/1e-15
.meas TRAN LET INTEG I(ISET)/1e-12/0.01/5

* LTspice schematic (.asc)
Version 4
SHEET 1 3056 1552
WIRE 184 -744 168 -744
WIRE 1384 -744 1368 -744
WIRE -104 -728 -104 -776
WIRE 184 -728 184 -744
WIRE 1096 -728 1096 -776
WIRE 1384 -728 1384 -744
WIRE 280 -712 232 -712
WIRE 1480 -712 1432 -712
WIRE -184 -680 -216 -680
WIRE -56 -680 -88 -680
WIRE 168 -680 168 -744
WIRE 184 -680 168 -680
WIRE 1016 -680 984 -680
WIRE 1144 -680 1112 -680
WIRE 1368 -680 1368 -744
WIRE 1384 -680 1368 -680
WIRE -136 -648 -136 -680
WIRE 1064 -648 1064 -680
WIRE -1288 -632 -1304 -632
WIRE -136 -632 -136 -648
WIRE 1064 -632 1064 -648
WIRE -1304 -616 -1304 -632
WIRE -1352 -600 -1400 -600
WIRE -1288 -568 -1288 -632
WIRE -1288 -568 -1304 -568
WIRE -216 -568 -216 -680
WIRE -216 -568 -520 -568
WIRE -56 -568 -56 -680
WIRE 184 -568 184 -632
WIRE 184 -568 -56 -568
WIRE 280 -568 280 -712
WIRE 328 -568 280 -568
WIRE 984 -568 984 -680
WIRE 984 -568 680 -568
WIRE 1144 -568 1144 -680
WIRE 1384 -568 1384 -632
WIRE 1384 -568 1144 -568
WIRE 1480 -568 1480 -712
WIRE 1528 -568 1480 -568
WIRE 184 -504 184 -568
WIRE 1384 -504 1384 -568
WIRE -1304 -456 -1304 -520
WIRE 184 -456 168 -456
WIRE 1384 -456 1368 -456
WIRE -1400 -440 -1400 -600
WIRE -1400 -440 -1528 -440
WIRE -216 -424 -216 -568
WIRE -184 -424 -216 -424
WIRE -136 -424 -136 -472
WIRE -56 -424 -56 -568
WIRE -56 -424 -88 -424
WIRE 280 -424 280 -568
WIRE 280 -424 232 -424
WIRE 984 -424 984 -568
WIRE 1016 -424 984 -424
WIRE 1064 -424 1064 -472
WIRE 1144 -424 1144 -568
WIRE 1144 -424 1112 -424
WIRE 1480 -424 1480 -568
WIRE 1480 -424 1432 -424
WIRE 168 -408 168 -456
WIRE 184 -408 168 -408
WIRE 1368 -408 1368 -456
WIRE 1384 -408 1368 -408
WIRE -1304 -392 -1304 -456
WIRE 184 -376 184 -408
WIRE 1384 -376 1384 -408
WIRE -1528 -360 -1528 -440
WIRE -1288 -344 -1304 -344
WIRE -168 -328 -168 -376
WIRE 1032 -328 1032 -376
WIRE -1400 -312 -1400 -440
WIRE -1352 -312 -1400 -312
WIRE -1288 -296 -1288 -344
WIRE -1288 -296 -1304 -296
WIRE -1528 -232 -1528 -280
WIRE -1304 -232 -1304 -296
WIRE -360 -216 -376 -216
WIRE 840 -216 824 -216
WIRE -376 -200 -376 -216
WIRE 824 -200 824 -216
WIRE -424 -184 -472 -184
WIRE 776 -184 728 -184
WIRE -744 -168 -744 -216
WIRE 520 -168 520 -216
WIRE -360 -152 -360 -216
WIRE -360 -152 -376 -152
WIRE 840 -152 840 -216
WIRE 840 -152 824 -152
WIRE -760 -120 -792 -120
WIRE -632 -120 -664 -120
WIRE 504 -120 472 -120
WIRE 632 -120 600 -120
WIRE -712 -88 -712 -120
WIRE 552 -88 552 -120
WIRE -712 -72 -712 -88
WIRE 552 -72 552 -88
WIRE -376 -40 -376 -104
WIRE 248 -40 -376 -40
WIRE 328 -40 328 -568
WIRE 328 -40 248 -40
WIRE 472 -40 472 -120
WIRE 472 -40 328 -40
WIRE 824 -40 824 -104
WIRE 1448 -40 824 -40
WIRE 1528 -40 1528 -568
WIRE 1528 -40 1448 -40
WIRE -1416 -8 -1528 -8
WIRE -856 -8 -968 -8
WIRE -792 -8 -792 -120
WIRE -792 -8 -856 -8
WIRE -632 -8 -632 -120
WIRE -520 -8 -520 -568
WIRE -520 -8 -632 -8
WIRE -472 -8 -472 -184
WIRE -472 -8 -520 -8
WIRE 632 -8 632 -120
WIRE 680 -8 680 -568
WIRE 680 -8 632 -8
WIRE 728 -8 728 -184
WIRE 728 -8 680 -8
WIRE -376 24 -376 -40
WIRE 824 24 824 -40
WIRE -1528 56 -1528 -8
WIRE -968 56 -968 -8
WIRE -360 72 -376 72
WIRE 840 72 824 72
WIRE -472 104 -472 -8
WIRE -424 104 -472 104
WIRE 728 104 728 -8
WIRE 776 104 728 104
WIRE -360 120 -360 72
WIRE -360 120 -376 120
WIRE 840 120 840 72
WIRE 840 120 824 120
WIRE -792 136 -792 -8
WIRE -760 136 -792 136
WIRE -712 136 -712 88
WIRE -632 136 -632 -8
WIRE -632 136 -664 136
WIRE 472 136 472 -40
WIRE 504 136 472 136
WIRE 552 136 552 88
WIRE 632 136 632 -8
WIRE 632 136 600 136
WIRE -1528 184 -1528 136
WIRE -968 184 -968 136
WIRE -376 184 -376 120
WIRE 824 184 824 120
WIRE -680 232 -680 184
WIRE 584 232 584 184
WIRE -1288 616 -1400 616
WIRE -1176 616 -1288 616
WIRE -1128 616 -1176 616
WIRE -1288 648 -1288 616
WIRE -1176 664 -1176 616
WIRE -1288 776 -1288 728
WIRE -1288 776 -1400 776
WIRE -1176 776 -1176 728
WIRE -1176 776 -1288 776
FLAG -376 184 0
FLAG -968 184 0
FLAG 184 -376 0
FLAG -1528 -232 0
FLAG -1304 -232 0
FLAG -1400 -440 CLK
FLAG -1304 -456 CLKB
FLAG -744 -216 CLKB
FLAG -680 232 CLK
FLAG -712 88 VDD
FLAG -712 -88 0
FLAG -856 -8 D
FLAG -104 -776 CLK
FLAG -168 -328 CLKB
FLAG -136 -472 VDD
FLAG -136 -648 0
FLAG -360 -216 VDD
FLAG 184 -744 VDD
FLAG 248 -40 o1
FLAG -1288 -632 VDD
FLAG 824 184 0
FLAG 1384 -376 0
FLAG 520 -216 CLK
FLAG 584 232 CLKB
FLAG 552 88 VDD
FLAG 552 -88 0
FLAG 1096 -776 CLKB
FLAG 1032 -328 CLK
FLAG 1064 -472 VDD
FLAG 1064 -648 0
FLAG 840 -216 VDD
FLAG 1384 -744 VDD
FLAG 1448 -40 Q
FLAG -1528 184 0
FLAG -1416 -8 VDD
FLAG -1400 616 o1
FLAG -1400 776 0
SYMBOL voltage -968 40 R0
SYMATTR Value PULSE(0 3.3 7.5n 1p 1p 10n 20n)
SYMATTR InstName D
SYMATTR Value2 AC 1
SYMBOL nmos4 -424 24 R0
SYMATTR InstName M1
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL pmos4 -424 -104 M180
SYMATTR InstName M2
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=3.5u
SYMBOL nmos4 232 -504 M0
SYMATTR InstName M3
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL pmos4 232 -632 R180
SYMATTR InstName M4
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=3.5u
SYMBOL current -1288 648 R0
SYMATTR Value EXP(0 0.5m 22n 10p 22.001n 5n)
SYMATTR InstName ISET
SYMBOL diode -1160 728 R180
SYMATTR InstName D1
SYMBOL nmos4 -664 -168 R90
SYMATTR InstName M7
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL voltage -1528 -376 R0
SYMATTR Value PULSE(0 3.3 5n 1p 1p 5n 10n)
SYMATTR InstName CLK
SYMATTR Value2 AC 1
SYMBOL pmos4 -760 184 R270
SYMATTR InstName M8
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL nmos4 -1352 -392 R0
SYMATTR InstName M9
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL pmos4 -1352 -520 M180
SYMATTR InstName M10
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=3.5u
SYMBOL nmos4 -184 -728 M90
SYMATTR InstName M5
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL pmos4 -88 -376 M270
SYMATTR InstName M6
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL nmos4 776 24 R0
SYMATTR InstName M11
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL pmos4 776 -104 M180
SYMATTR InstName M12
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=3.5u
SYMBOL nmos4 1432 -504 M0
SYMATTR InstName M13
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL pmos4 1432 -632 R180
SYMATTR InstName M14
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=3.5u
SYMBOL nmos4 600 -168 R90
SYMATTR InstName M15
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL pmos4 504 184 R270
SYMATTR InstName M16
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL nmos4 1016 -728 M90
SYMATTR InstName M17
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL pmos4 1112 -376 M270
SYMATTR InstName M18
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL voltage -1528 40 R0
SYMATTR Value 3.3
SYMATTR InstName VDD
SYMATTR Value2 AC 1