* SPICE netlist
M2 Vin N001 N008 Vin PM l=0.18u w=1u m=2
M7 Vin N004 N006 Vin PM L=1u W=1u m=4
M8 Vin N004 N004 Vin PM L=1u W=1u m=4
M9 Vin N001 N003 Vin PM L=0.18u W=1u m=8
M10 Vin N001 N009 Vin PM L=1u W=1u m=4
M11 N004 N012 0 0 NM L=1u W=1u m=8
M12 N012 N012 0 0 NM L=1u W=1u m=2
M13 N009 Vfb N013 N009 PM L=0.18u W=1u m=4
M15 N009 Vref N012 N009 PM L=0.18u W=1u m=4
M16 N013 N013 0 0 NM L=1u W=1u m=2
M17 N006 N013 0 0 NM L=1u W=1u m=8
Vin Vin 0 PULSE(5 5.5 15u 1u 1u 10u 20u) AC 1
C1 N016 N012 1p
R1 Vout Vfb 1k
R2 Vfb 0 1k
M18 N003 N006 0 N003 PM L=0.18u W=1u m=500
C2 N005 N006 1p
M19 Vin N002 N003 Vin PM L=0.18u W=1u m=32
M20 Vin N003 Vout Vin PM l=0.18u w=1u m=4000
M22 Vout N007 N005 Vout PM L=0.18u W=1u m=4
M21 Vout N007 N007 Vout PM L=0.18u W=1u m=4
M23 Vin N003 N010 Vin PM L=0.18u W=1u m=200
M24 N010 N010 0 0 NM L=0.18u W=1u m=200
M25 N002 N010 0 0 NM L=0.18u W=1u m=8
M26 N007 N010 0 0 NM L=0.18u W=1u m=8
M27 Vin N002 N002 Vin PM L=0.18u W=1u m=8
Vref Vref 0 DC 1V
M1 N014 N011 N015 0 NM L=0.18u W=1u m=2
M3 N011 N011 0 0 NM L=0.18u W=1u m=2
M4 N001 N008 N014 0 NM L=0.18u W=1u m=2
M5 N008 N008 N011 0 NM L=0.18u W=1u m=2
M6 Vin N001 N001 Vin PM L=0.18u W=1u m=1
R3 N015 0 22k
M14 Vin Vout N016 0 NM L=0.18u W=1u m=8
Iout Vout 0 PULSE(0 3 10u 1u 1u 20u 40u)
.tran 100u
;.ac dec 100 1 1g

* LTspice schematic (.asc)
Version 4
SHEET 1 4160 1488
WIRE -1984 -744 -2080 -744
WIRE -1840 -744 -1984 -744
WIRE -1776 -744 -1840 -744
WIRE -1472 -744 -1776 -744
WIRE -1424 -744 -1472 -744
WIRE -352 -744 -1424 -744
WIRE 208 -744 -352 -744
WIRE 496 -744 208 -744
WIRE 752 -744 496 -744
WIRE 816 -744 752 -744
WIRE 1216 -744 816 -744
WIRE 1280 -744 1216 -744
WIRE 1584 -744 1280 -744
WIRE 1648 -744 1584 -744
WIRE 1904 -744 1648 -744
WIRE 1968 -744 1904 -744
WIRE -1776 -696 -1776 -744
WIRE -1472 -696 -1472 -744
WIRE 816 -696 816 -744
WIRE 1216 -696 1216 -744
WIRE 1584 -696 1584 -744
WIRE 1904 -696 1904 -744
WIRE 496 -680 496 -744
WIRE 496 -680 448 -680
WIRE 448 -664 448 -680
WIRE -1840 -648 -1840 -744
WIRE -1776 -648 -1840 -648
WIRE -1424 -648 -1424 -744
WIRE -1424 -648 -1472 -648
WIRE 752 -648 752 -744
WIRE 816 -648 752 -648
WIRE 1280 -648 1280 -744
WIRE 1280 -648 1216 -648
WIRE 1648 -648 1648 -744
WIRE 1648 -648 1584 -648
WIRE 1968 -648 1968 -744
WIRE 1968 -648 1904 -648
WIRE -1648 -616 -1728 -616
WIRE -1584 -616 -1648 -616
WIRE -1520 -616 -1584 -616
WIRE 496 -616 496 -680
WIRE 496 -616 448 -616
WIRE 1072 -616 864 -616
WIRE 1168 -616 1072 -616
WIRE 1536 -616 1488 -616
WIRE 1856 -616 1824 -616
WIRE -1584 -584 -1584 -616
WIRE 400 -584 -1584 -584
WIRE -2080 -552 -2080 -744
WIRE 1072 -520 1072 -616
WIRE 1216 -520 1216 -600
WIRE 1216 -520 1072 -520
WIRE 448 -504 448 -568
WIRE 816 -504 816 -600
WIRE 816 -504 448 -504
WIRE 1488 -504 1488 -616
WIRE 1488 -504 816 -504
WIRE 1824 -504 1824 -616
WIRE 1824 -504 1488 -504
WIRE -1776 -488 -1776 -600
WIRE -1648 -488 -1648 -616
WIRE -1648 -488 -1776 -488
WIRE -1072 -456 -1120 -456
WIRE -528 -456 -1072 -456
WIRE -352 -456 -352 -744
WIRE -352 -456 -528 -456
WIRE -32 -456 -352 -456
WIRE 16 -456 -32 -456
WIRE -1072 -440 -1072 -456
WIRE -32 -440 -32 -456
WIRE -2080 -392 -2080 -472
WIRE -1120 -392 -1120 -456
WIRE -1072 -392 -1120 -392
WIRE 16 -392 16 -456
WIRE 16 -392 -32 -392
WIRE -928 -360 -1024 -360
WIRE -80 -360 -928 -360
WIRE 864 -264 800 -264
WIRE -1072 -232 -1072 -344
WIRE -928 -232 -928 -360
WIRE -928 -232 -1072 -232
WIRE 752 -216 272 -216
WIRE 800 -216 800 -264
WIRE 864 -216 864 -264
WIRE 864 -216 848 -216
WIRE 1104 -216 864 -216
WIRE 1824 -216 1104 -216
WIRE 1904 -216 1904 -600
WIRE 1904 -216 1824 -216
WIRE -528 -200 -528 -456
WIRE -528 -200 -576 -200
WIRE -576 -184 -576 -200
WIRE 272 -184 272 -216
WIRE 448 -152 448 -504
WIRE 496 -152 448 -152
WIRE -528 -136 -528 -200
WIRE -528 -136 -576 -136
WIRE 448 -136 448 -152
WIRE 992 -120 944 -120
WIRE 1104 -120 1104 -216
WIRE 1104 -120 992 -120
WIRE 1904 -120 1904 -216
WIRE 2000 -120 1904 -120
WIRE 2080 -120 2000 -120
WIRE -1776 -104 -1776 -488
WIRE -624 -104 -1776 -104
WIRE 944 -104 944 -120
WIRE 496 -88 496 -152
WIRE 496 -88 448 -88
WIRE -32 -56 -32 -344
WIRE 272 -56 272 -120
WIRE 272 -56 -32 -56
WIRE 400 -56 272 -56
WIRE 992 -56 992 -120
WIRE 992 -56 944 -56
WIRE 2000 -40 2000 -120
WIRE 768 -24 768 -168
WIRE 896 -24 768 -24
WIRE -1472 8 -1472 -600
WIRE -1472 8 -1632 8
WIRE 208 24 208 -744
WIRE -720 56 -768 56
WIRE -576 56 -576 -88
WIRE -576 56 -720 56
WIRE -384 56 -576 56
WIRE -336 56 -384 56
WIRE 768 56 768 -24
WIRE 944 56 944 -8
WIRE 944 56 768 56
WIRE -1776 72 -1776 -104
WIRE -1472 72 -1472 8
WIRE -768 72 -768 56
WIRE -336 72 -336 56
WIRE 208 72 144 72
WIRE 1824 104 1824 -216
WIRE 1824 104 256 104
WIRE 2000 104 2000 40
WIRE -1776 120 -1840 120
WIRE -1408 120 -1472 120
WIRE -720 120 -720 56
WIRE -720 120 -768 120
WIRE -384 120 -384 56
WIRE -384 120 -720 120
WIRE -336 120 -384 120
WIRE -1632 152 -1632 8
WIRE -1632 152 -1728 152
WIRE -1520 152 -1632 152
WIRE -864 152 -880 152
WIRE -816 152 -864 152
WIRE 96 152 -288 152
WIRE 1424 152 1072 152
WIRE 1584 152 1584 -600
WIRE 1584 152 1424 152
WIRE -880 184 -880 152
WIRE 1904 184 1904 -120
WIRE 944 216 944 56
WIRE 1216 216 1216 -520
WIRE 1584 216 1584 152
WIRE 944 264 880 264
WIRE 1216 264 1152 264
WIRE 1648 264 1584 264
WIRE 1072 296 1072 152
WIRE 1072 296 992 296
WIRE 1424 296 1424 152
WIRE 1424 296 1264 296
WIRE 1536 296 1424 296
WIRE -1472 312 -1472 168
WIRE -1472 312 -1632 312
WIRE -880 312 -880 264
WIRE -768 344 -768 168
WIRE -768 344 -928 344
WIRE -336 344 -336 168
WIRE -192 344 -336 344
WIRE -1776 376 -1776 168
WIRE -1472 376 -1472 312
WIRE -1072 408 -1072 -232
WIRE -768 408 -768 344
WIRE -336 408 -336 344
WIRE -32 408 -32 -56
WIRE -1776 424 -1840 424
WIRE -1408 424 -1472 424
WIRE 96 440 96 152
WIRE 544 440 96 440
WIRE 1904 440 1904 264
WIRE 1904 440 544 440
WIRE -1632 456 -1632 312
WIRE -1632 456 -1728 456
WIRE -1520 456 -1632 456
WIRE -1072 456 -1136 456
WIRE -704 456 -768 456
WIRE -336 456 -400 456
WIRE 32 456 -32 456
WIRE -928 488 -928 344
WIRE -928 488 -1024 488
WIRE -896 488 -928 488
WIRE -816 488 -896 488
WIRE -192 488 -192 344
WIRE -192 488 -288 488
WIRE -80 488 -192 488
WIRE -1776 552 -1776 472
WIRE 1904 568 1904 440
WIRE -1072 600 -1072 504
WIRE -768 600 -768 504
WIRE -768 600 -1072 600
WIRE -560 600 -768 600
WIRE -336 600 -336 504
WIRE -336 600 -560 600
WIRE -32 600 -32 504
WIRE -32 600 -336 600
WIRE -560 648 -560 600
WIRE -1776 696 -1776 632
WIRE -1632 696 -1776 696
WIRE -1472 696 -1472 472
WIRE -1472 696 -1632 696
WIRE -896 712 -896 488
WIRE -464 712 -896 712
WIRE 208 712 208 120
WIRE 208 712 -400 712
WIRE 448 712 448 -40
WIRE 944 712 944 312
WIRE 944 712 448 712
WIRE 1216 712 1216 312
WIRE 1216 712 944 712
WIRE 1584 712 1584 312
WIRE 1584 712 1216 712
WIRE 1904 712 1904 648
WIRE 1904 712 1584 712
WIRE -1632 744 -1632 696
WIRE 1904 744 1904 712
FLAG -1136 456 0
FLAG -704 456 0
FLAG -400 456 0
FLAG 32 456 0
FLAG -560 648 0
FLAG -2080 -392 0
FLAG 1904 744 0
FLAG 1648 264 0
FLAG 1152 264 0
FLAG 880 264 0
FLAG 2080 -120 Vout
IOPIN 3648 704 Out
FLAG -880 312 0
FLAG -864 152 Vref
FLAG -1984 -744 Vin
FLAG 544 440 Vfb
FLAG -1840 424 0
FLAG -1408 424 0
FLAG -1632 744 0
FLAG -1840 120 0
FLAG -1408 120 0
FLAG 144 72 0
FLAG 2000 104 0
SYMBOL pmos4 -1520 -696 R0
SYMATTR Value2 l=0.18u w=1u m=2
SYMATTR InstName M2
SYMATTR Value PM
SYMBOL pmos4 -80 -440 R0
SYMATTR Value2 L=1u W=1u m=4
SYMATTR InstName M7
SYMATTR Value PM
SYMBOL pmos4 -1024 -440 M0
SYMATTR Value2 L=1u W=1u m=4
SYMATTR InstName M8
SYMATTR Value PM
SYMBOL pmos4 400 -664 R0
SYMATTR Value2 L=0.18u W=1u m=8
SYMATTR InstName M9
SYMATTR Value PM
SYMBOL pmos4 -624 -184 R0
SYMATTR Value2 L=1u W=1u m=4
SYMATTR InstName M10
SYMATTR Value PM
SYMBOL nmos4 -1024 408 M0
SYMATTR Value2 L=1u W=1u m=8
SYMATTR InstName M11
SYMATTR Value NM
SYMBOL nmos4 -816 408 R0
SYMATTR Value2 L=1u W=1u m=2
SYMATTR InstName M12
SYMATTR Value NM
SYMBOL pmos4 -288 72 M0
SYMATTR InstName M13
SYMATTR Value2 L=0.18u W=1u m=4
SYMATTR Value PM
SYMBOL pmos4 -816 72 R0
SYMATTR InstName M15
SYMATTR Value2 L=0.18u W=1u m=4
SYMATTR Value PM
SYMBOL nmos4 -288 408 M0
SYMATTR Value2 L=1u W=1u m=2
SYMATTR InstName M16
SYMATTR Value NM
SYMBOL nmos4 -80 408 R0
SYMATTR Value2 L=1u W=1u m=8
SYMATTR InstName M17
SYMATTR Value NM
SYMBOL voltage -2080 -568 R0
SYMATTR Value2 AC 1
SYMATTR Value PULSE(5 5.5 15u 1u 1u 10u 20u)
SYMATTR InstName Vin
SYMBOL cap -400 696 R90
SYMATTR InstName C1
SYMATTR Value 1p
SYMBOL res 1888 168 R0
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL res 1888 552 R0
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL pmos4 400 -136 R0
SYMATTR Value2 L=0.18u W=1u m=500
SYMATTR InstName M18
SYMATTR Value PM
SYMBOL cap 256 -184 R0
SYMATTR InstName C2
SYMATTR Value 1p
SYMBOL pmos4 864 -696 M0
SYMATTR Value2 L=0.18u W=1u m=32
SYMATTR InstName M19
SYMATTR Value PM
SYMBOL pmos4 1856 -696 R0
SYMATTR Value2 l=0.18u w=1u m=4000
SYMATTR InstName M20
SYMATTR Value PM
SYMBOL pmos4 848 -168 M270
SYMATTR Value2 L=0.18u W=1u m=4
SYMATTR InstName M22
SYMATTR Value PM
SYMBOL pmos4 896 -104 R0
SYMATTR Value2 L=0.18u W=1u m=4
SYMATTR InstName M21
SYMATTR Value PM
SYMBOL pmos4 1536 -696 R0
SYMATTR Value2 L=0.18u W=1u m=200
SYMATTR InstName M23
SYMATTR Value PM
SYMBOL nmos4 1536 216 R0
SYMATTR Value2 L=0.18u W=1u m=200
SYMATTR InstName M24
SYMATTR Value NM
SYMBOL nmos4 1264 216 M0
SYMATTR Value2 L=0.18u W=1u m=8
SYMATTR InstName M25
SYMATTR Value NM
SYMBOL nmos4 992 216 M0
SYMATTR Value2 L=0.18u W=1u m=8
SYMATTR InstName M26
SYMATTR Value NM
SYMBOL pmos4 1168 -696 R0
SYMATTR Value2 L=0.18u W=1u m=8
SYMATTR InstName M27
SYMATTR Value PM
SYMBOL voltage -880 168 M0
SYMATTR InstName Vref
SYMATTR Value DC 1V
SYMBOL nmos4 -1728 376 M0
SYMATTR Value2 L=0.18u W=1u m=2
SYMATTR InstName M1
SYMATTR Value NM
SYMBOL nmos4 -1520 376 R0
SYMATTR Value2 L=0.18u W=1u m=2
SYMATTR InstName M3
SYMATTR Value NM
SYMBOL nmos4 -1728 72 M0
SYMATTR Value2 L=0.18u W=1u m=2
SYMATTR InstName M4
SYMATTR Value NM
SYMBOL nmos4 -1520 72 R0
SYMATTR Value2 L=0.18u W=1u m=2
SYMATTR InstName M5
SYMATTR Value NM
SYMBOL pmos4 -1728 -696 M0
SYMATTR Value2 L=0.18u W=1u m=1
SYMATTR InstName M6
SYMATTR Value PM
SYMBOL res -1760 536 M0
SYMATTR InstName R3
SYMATTR Value 22k
SYMBOL nmos4 256 24 M0
SYMATTR Value2 L=0.18u W=1u m=8
SYMATTR InstName M14
SYMATTR Value NM
SYMBOL current 2000 -40 R0
SYMATTR InstName Iout
SYMATTR Value PULSE(0 3 10u 1u 1u 20u 40u)