* SPICE netlist
VD D 0 0 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 {IPEAK} {TS} 5p {TS+0.01n} 1n)
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
C2 o1 0 {CL}
C4 Q 0 {CL}
C1 N001 0 {CL}
C3 N003 0 {CL}
VD2 N005 0 PULSE(0 3.3 7.5n 1p 1p 10n 20n) 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)
.meas TRAN LET INTEG I(ISET)/1e-12/.01/5
.param TS = 37n
.step param CL 0f 200f 50f
.param CL = 0f
.param IPEAK = 0.48m

* LTspice schematic (.asc)
Version 4
SHEET 1 2672 1296
WIRE -920 -616 -936 -616
WIRE -8 -616 -24 -616
WIRE 1192 -616 1176 -616
WIRE -936 -600 -936 -616
WIRE -296 -600 -296 -648
WIRE -8 -600 -8 -616
WIRE 904 -600 904 -648
WIRE 1192 -600 1192 -616
WIRE -984 -584 -1032 -584
WIRE 88 -584 40 -584
WIRE 1288 -584 1240 -584
WIRE -920 -552 -920 -616
WIRE -920 -552 -936 -552
WIRE -376 -552 -408 -552
WIRE -248 -552 -280 -552
WIRE -24 -552 -24 -616
WIRE -8 -552 -24 -552
WIRE 824 -552 792 -552
WIRE 952 -552 920 -552
WIRE 1176 -552 1176 -616
WIRE 1192 -552 1176 -552
WIRE -328 -520 -328 -552
WIRE 872 -520 872 -552
WIRE -328 -504 -328 -520
WIRE 872 -504 872 -520
WIRE -936 -440 -936 -504
WIRE -408 -440 -408 -552
WIRE -408 -440 -712 -440
WIRE -248 -440 -248 -552
WIRE -8 -440 -8 -504
WIRE -8 -440 -248 -440
WIRE 88 -440 88 -584
WIRE 136 -440 88 -440
WIRE 792 -440 792 -552
WIRE 792 -440 488 -440
WIRE 952 -440 952 -552
WIRE 1192 -440 1192 -504
WIRE 1192 -440 952 -440
WIRE 1288 -440 1288 -584
WIRE 1336 -440 1288 -440
WIRE -1032 -424 -1032 -584
WIRE -1032 -424 -1160 -424
WIRE -936 -376 -936 -440
WIRE -8 -376 -8 -440
WIRE 1192 -376 1192 -440
WIRE -1160 -344 -1160 -424
WIRE -920 -328 -936 -328
WIRE -8 -328 -24 -328
WIRE 1192 -328 1176 -328
WIRE -1032 -296 -1032 -424
WIRE -984 -296 -1032 -296
WIRE -408 -296 -408 -440
WIRE -376 -296 -408 -296
WIRE -328 -296 -328 -344
WIRE -248 -296 -248 -440
WIRE -248 -296 -280 -296
WIRE 88 -296 88 -440
WIRE 88 -296 40 -296
WIRE 792 -296 792 -440
WIRE 824 -296 792 -296
WIRE 872 -296 872 -344
WIRE 952 -296 952 -440
WIRE 952 -296 920 -296
WIRE 1288 -296 1288 -440
WIRE 1288 -296 1240 -296
WIRE -920 -280 -920 -328
WIRE -920 -280 -936 -280
WIRE -24 -280 -24 -328
WIRE -8 -280 -24 -280
WIRE 1176 -280 1176 -328
WIRE 1192 -280 1176 -280
WIRE -8 -248 -8 -280
WIRE 1192 -248 1192 -280
WIRE -1160 -216 -1160 -264
WIRE -936 -216 -936 -280
WIRE -360 -200 -360 -248
WIRE 840 -200 840 -248
WIRE -1048 -136 -1160 -136
WIRE -552 -88 -568 -88
WIRE 648 -88 632 -88
WIRE -1160 -72 -1160 -136
WIRE -568 -72 -568 -88
WIRE 632 -72 632 -88
WIRE -616 -56 -664 -56
WIRE 584 -56 536 -56
WIRE -936 -40 -936 -88
WIRE 328 -40 328 -88
WIRE -552 -24 -552 -88
WIRE -552 -24 -568 -24
WIRE 648 -24 648 -88
WIRE 648 -24 632 -24
WIRE -952 8 -984 8
WIRE -824 8 -856 8
WIRE 312 8 280 8
WIRE 440 8 408 8
WIRE -904 40 -904 8
WIRE 360 40 360 8
WIRE -1160 56 -1160 8
WIRE -904 56 -904 40
WIRE 360 56 360 40
WIRE -568 88 -568 24
WIRE -120 88 -568 88
WIRE 56 88 -120 88
WIRE 136 88 136 -440
WIRE 136 88 56 88
WIRE 280 88 280 8
WIRE 280 88 136 88
WIRE 440 88 440 8
WIRE 488 88 488 -440
WIRE 488 88 440 88
WIRE 536 88 536 -56
WIRE 536 88 488 88
WIRE 632 88 632 24
WIRE 1000 88 632 88
WIRE 1256 88 1000 88
WIRE 1336 88 1336 -440
WIRE 1336 88 1256 88
WIRE -984 120 -984 8
WIRE -984 120 -1048 120
WIRE -824 120 -824 8
WIRE -760 120 -824 120
WIRE -712 120 -712 -440
WIRE -712 120 -760 120
WIRE -664 120 -664 -56
WIRE -664 120 -712 120
WIRE -1160 136 -1160 120
WIRE -568 152 -568 88
WIRE -120 152 -120 88
WIRE 632 152 632 88
WIRE 1000 152 1000 88
WIRE -1336 184 -1336 120
WIRE -1160 184 -1160 136
WIRE -760 184 -760 120
WIRE 488 184 488 88
WIRE -552 200 -568 200
WIRE 648 200 632 200
WIRE -664 232 -664 120
WIRE -616 232 -664 232
WIRE 536 232 536 88
WIRE 584 232 536 232
WIRE -552 248 -552 200
WIRE -552 248 -568 248
WIRE 648 248 648 200
WIRE 648 248 632 248
WIRE -984 264 -984 120
WIRE -952 264 -984 264
WIRE -904 264 -904 216
WIRE -824 264 -824 120
WIRE -824 264 -856 264
WIRE 280 264 280 88
WIRE 312 264 280 264
WIRE 360 264 360 216
WIRE 440 264 440 88
WIRE 440 264 408 264
WIRE -120 280 -120 216
WIRE 1000 280 1000 216
WIRE -1336 312 -1336 264
WIRE -1160 312 -1160 264
WIRE -760 312 -760 248
WIRE -568 312 -568 248
WIRE 488 312 488 248
WIRE 632 312 632 248
WIRE -872 360 -872 312
WIRE 392 360 392 312
WIRE -8 488 -120 488
WIRE 104 488 -8 488
WIRE 152 488 104 488
WIRE -8 520 -8 488
WIRE 104 536 104 488
WIRE -8 648 -8 600
WIRE -8 648 -120 648
WIRE 104 648 104 600
WIRE 104 648 -8 648
FLAG -568 312 0
FLAG -1160 312 0
FLAG -8 -248 0
FLAG -1160 -216 0
FLAG -936 -216 0
FLAG -1032 -424 CLK
FLAG -936 -440 CLKB
FLAG -936 -88 CLKB
FLAG -872 360 CLK
FLAG -904 216 VDD
FLAG -904 40 0
FLAG -1048 120 D
FLAG -296 -648 CLK
FLAG -360 -200 CLKB
FLAG -328 -344 VDD
FLAG -328 -520 0
FLAG -552 -88 VDD
FLAG -8 -616 VDD
FLAG 56 88 o1
FLAG -920 -616 VDD
FLAG 632 312 0
FLAG 1192 -248 0
FLAG 328 -88 CLK
FLAG 392 360 CLKB
FLAG 360 216 VDD
FLAG 360 40 0
FLAG 904 -648 CLKB
FLAG 840 -200 CLK
FLAG 872 -344 VDD
FLAG 872 -520 0
FLAG 648 -88 VDD
FLAG 1192 -616 VDD
FLAG 1256 88 Q
FLAG -1160 56 0
FLAG -1048 -136 VDD
FLAG -120 488 o1
FLAG -120 648 0
FLAG -120 280 0
FLAG 1000 280 0
FLAG -760 312 0
FLAG 488 312 0
FLAG -1336 312 0
FLAG -1336 120 N005
FLAG -1160 136 D
SYMBOL voltage -1160 168 R0
SYMATTR Value 0
SYMATTR InstName D
SYMATTR Value2 AC 1
SYMBOL nmos4 -616 152 R0
SYMATTR InstName M1
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL pmos4 -616 24 M180
SYMATTR InstName M2
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=3.5u
SYMBOL nmos4 40 -376 M0
SYMATTR InstName M3
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL pmos4 40 -504 R180
SYMATTR InstName M4
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=3.5u
SYMBOL current -8 520 R0
SYMATTR Value EXP(0 {IPEAK} {TS} 5p {TS+0.01n} 1n)
SYMATTR InstName ISET
SYMBOL diode 120 600 R180
SYMATTR InstName D1
SYMBOL nmos4 -856 -40 R90
SYMATTR InstName M7
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL voltage -1160 -360 R0
SYMATTR Value PULSE(0 3.3 5n 1p 1p 5n 10n)
SYMATTR InstName CLK
SYMATTR Value2 AC 1
SYMBOL pmos4 -952 312 R270
SYMATTR InstName M8
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL nmos4 -984 -376 R0
SYMATTR InstName M9
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL pmos4 -984 -504 M180
SYMATTR InstName M10
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=3.5u
SYMBOL nmos4 -376 -600 M90
SYMATTR InstName M5
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL pmos4 -280 -248 M270
SYMATTR InstName M6
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL nmos4 584 152 R0
SYMATTR InstName M11
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL pmos4 584 24 M180
SYMATTR InstName M12
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=3.5u
SYMBOL nmos4 1240 -376 M0
SYMATTR InstName M13
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL pmos4 1240 -504 R180
SYMATTR InstName M14
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=3.5u
SYMBOL nmos4 408 -40 R90
SYMATTR InstName M15
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL pmos4 312 312 R270
SYMATTR InstName M16
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL nmos4 824 -600 M90
SYMATTR InstName M17
SYMATTR Value iucreate_nmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL pmos4 920 -248 M270
SYMATTR InstName M18
SYMATTR Value iucreate_pmos
SYMATTR Value2 l=0.5u w=1.5u
SYMBOL voltage -1160 -88 R0
SYMATTR Value 3.3
SYMATTR InstName VDD
SYMATTR Value2 AC 1
SYMBOL cap -136 152 R0
SYMATTR InstName C2
SYMATTR Value {CL}
SYMBOL cap 984 152 R0
SYMATTR InstName C4
SYMATTR Value {CL}
SYMBOL cap -776 184 R0
SYMATTR InstName C1
SYMATTR Value {CL}
SYMBOL cap 472 184 R0
SYMATTR InstName C3
SYMATTR Value {CL}
SYMBOL voltage -1336 168 R0
SYMATTR Value PULSE(0 3.3 7.5n 1p 1p 10n 20n)
SYMATTR InstName D2
SYMATTR Value2 AC 1