* SPICE netlist
M1 N006 N006 N003 N003 PMOS l=440n w=220n
M2 0 N010 N006 0 NMOS l=44n w=220n
M3 N010 Vbias N003 N003 PMOS l=44n w=528n
M4 Vbias N006 N010 0 NMOS l=44n w=88n
M5 N007 N007 N003 N003 PMOS l=44n w=528n
M6 N003 N007 Vbias N003 PMOS l=44n w=528n
M7 N003 Vbias N009 N003 PMOS l=44n w=528n
M8 0 N009 N007 0 NMOS l=44n w=220n
M9 Vbias N010 0 0 NMOS l=44n w=220n
M10 N009 N009 N013 0 NMOS l=44n w=660n
M11 N003 Vbias N003 N003 PMOS
M12 0 N010 N010 0 NMOS l=44n w=220n
V1 N003 0 0.8
R1 N013 0 5.49K tol=1 pwr=0.1
M13 N002 Vbias Vbias3 N002 PMOS l=44n w=528n
M14 0 Vbias3 Vbias3 0 NMOS l=44n w=110n
M15 N002 Vbias N008 N002 PMOS l=44n w=528n
M16 Vbias2 Vbias2 N002 N002 PMOS l=110n w=440n
M17 Vbias1 Vbias2 N005 N002 PMOS l=44n w=528n
M18 N005 Vbias1 N002 N002 PMOS l=44n w=528n
M19 N014 Vbias3 N008 0 NMOS l=44n w=220n
M20 0 N008 N014 0 NMOS l=44n w=220n
M21 Vbias2 Vbias3 N011 0 NMOS l=44n w=220n
M22 N011 N008 0 0 NMOS l=44n w=220n
M23 Vbias1 Vbias3 N012 0 NMOS l=44n w=220n
M24 N012 N008 0 0 NMOS l=44n w=220n
V2 N002 0 0.8
M25 N001 Vbias1 N004 N001 PMOS l=44n w=572n
M26 N004 Vbias2 Vout N001 PMOS l=44n w=594n
M27 Vout Vbias3 N015 0 NMOS l=44n w=462n
M28 N015 Vin 0 0 NMOS l=44n w=462n
C1 Vout 0 1e-12
V3 N001 0 0.8
V4 Vin 0 SINE(511m 1m 10000) AC 520m
.ac dec 10 100 10meg

* LTspice schematic (.asc)
Version 4
SHEET 1 4800 1744
WIRE 2144 -856 1952 -856
WIRE 1952 -712 1952 -776
WIRE 2144 -664 2144 -856
WIRE 2144 -664 2096 -664
WIRE 2192 -664 2144 -664
WIRE -48 -632 -176 -632
WIRE 80 -632 32 -632
WIRE 80 -504 80 -632
WIRE 160 -504 80 -504
WIRE 448 -504 160 -504
WIRE 512 -504 448 -504
WIRE 816 -504 512 -504
WIRE 864 -504 816 -504
WIRE 1104 -504 864 -504
WIRE 1152 -504 1104 -504
WIRE 1168 -504 1152 -504
WIRE 2096 -472 2096 -664
WIRE 2144 -424 2144 -664
WIRE 2144 -424 2096 -424
WIRE 1168 -408 1168 -504
WIRE -2304 -392 -2400 -392
WIRE -2256 -392 -2304 -392
WIRE -1888 -392 -2256 -392
WIRE -1824 -392 -1888 -392
WIRE -1616 -392 -1824 -392
WIRE -1552 -392 -1616 -392
WIRE -1168 -392 -1552 -392
WIRE -1104 -392 -1168 -392
WIRE -784 -392 -1104 -392
WIRE -752 -392 -784 -392
WIRE -576 -392 -752 -392
WIRE 1392 -392 1216 -392
WIRE 1456 -392 1392 -392
WIRE 2048 -392 1456 -392
WIRE 1152 -360 1152 -504
WIRE 1168 -360 1152 -360
WIRE -2400 -264 -2400 -312
WIRE 448 -216 448 -504
WIRE 2096 -216 2096 -376
WIRE -576 -184 -576 -392
WIRE -576 -184 -672 -184
WIRE -464 -184 -576 -184
WIRE 1296 -184 960 -184
WIRE 512 -168 512 -504
WIRE 512 -168 448 -168
WIRE 2192 -168 2192 -664
WIRE 2192 -168 2096 -168
WIRE -2256 -152 -2256 -392
WIRE -1552 -152 -1552 -392
WIRE -1168 -152 -1168 -392
WIRE 80 -152 80 -504
WIRE 864 -152 864 -504
WIRE 1168 -152 1168 -312
WIRE -2160 -136 -2208 -136
WIRE -1440 -136 -1504 -136
WIRE -1312 -136 -1440 -136
WIRE 960 -136 960 -184
WIRE 960 -136 912 -136
WIRE 1296 -136 1296 -184
WIRE 1296 -136 1216 -136
WIRE 1408 -136 1296 -136
WIRE 2048 -136 1408 -136
WIRE -2304 -104 -2304 -392
WIRE -2256 -104 -2304 -104
WIRE -1616 -104 -1616 -392
WIRE -1552 -104 -1616 -104
WIRE -1104 -104 -1104 -392
WIRE -1104 -104 -1168 -104
WIRE 160 -104 160 -504
WIRE 160 -104 80 -104
WIRE 816 -104 816 -504
WIRE 864 -104 816 -104
WIRE 1104 -104 1104 -504
WIRE 1168 -104 1104 -104
WIRE -672 -88 -672 -184
WIRE -624 -88 -672 -88
WIRE -576 -88 -576 -184
WIRE -464 -88 -464 -184
WIRE -464 -88 -528 -88
WIRE -1312 -72 -1312 -136
WIRE -1216 -72 -1312 -72
WIRE -784 -24 -784 -392
WIRE 864 -24 864 -56
WIRE 960 -24 960 -136
WIRE 960 -24 864 -24
WIRE -1824 -8 -1824 -392
WIRE -1552 -8 -1552 -56
WIRE -1440 -8 -1440 -136
WIRE -1440 -8 -1552 -8
WIRE 1168 -8 1168 -56
WIRE 1456 -8 1456 -392
WIRE 1456 -8 1168 -8
WIRE -2256 8 -2256 -56
WIRE -2160 8 -2160 -136
WIRE -2160 8 -2256 8
WIRE -1712 8 -1776 8
WIRE -1680 8 -1712 8
WIRE -752 24 -752 -392
WIRE -752 24 -784 24
WIRE -1888 40 -1888 -392
WIRE -1824 40 -1888 40
WIRE -1680 56 -1680 8
WIRE -1168 56 -1168 -56
WIRE -1168 56 -1680 56
WIRE -880 56 -1168 56
WIRE -832 56 -880 56
WIRE 2096 56 2096 -120
WIRE 2400 56 2096 56
WIRE -880 88 -880 56
WIRE -544 88 -544 -40
WIRE -544 88 -880 88
WIRE -480 88 -544 88
WIRE 32 88 32 -72
WIRE 32 88 -480 88
WIRE 400 88 400 -136
WIRE 400 88 32 88
WIRE -1712 136 -1712 8
WIRE -1712 136 -2032 136
WIRE 448 136 448 -120
WIRE 624 136 448 136
WIRE 2400 168 2400 56
WIRE -2032 200 -2032 136
WIRE -896 200 -1248 200
WIRE -784 200 -784 72
WIRE -784 200 -896 200
WIRE 448 200 448 136
WIRE 464 200 448 200
WIRE 864 200 864 -24
WIRE 1168 200 1168 -8
WIRE -1312 216 -1728 216
WIRE 80 216 80 -56
WIRE 192 216 80 216
WIRE 592 216 512 216
WIRE -2000 248 -2032 248
WIRE 464 248 352 248
WIRE 944 248 864 248
WIRE 1248 248 1168 248
WIRE 2096 248 2096 56
WIRE -1824 264 -1824 88
WIRE -1728 264 -1728 216
WIRE -1728 264 -1824 264
WIRE -1552 264 -1552 -8
WIRE -1168 264 -1168 56
WIRE -784 264 -784 200
WIRE 80 264 80 216
WIRE -2256 280 -2256 8
WIRE -2080 280 -2256 280
WIRE -1248 280 -1248 200
WIRE -1248 280 -1504 280
WIRE 192 280 192 216
WIRE 192 280 128 280
WIRE 208 280 192 280
WIRE 592 280 592 216
WIRE 720 280 592 280
WIRE 816 280 720 280
WIRE 2192 296 2096 296
WIRE -2032 312 -2032 296
WIRE -2032 312 -2208 312
WIRE -1824 312 -1824 264
WIRE -1824 312 -2032 312
WIRE -1552 312 -1600 312
WIRE -1088 312 -1168 312
WIRE -720 312 -784 312
WIRE 80 312 32 312
WIRE -1824 328 -1824 312
WIRE 720 328 720 280
WIRE 1120 328 1120 280
WIRE 1120 328 720 328
WIRE 1376 328 1120 328
WIRE 2048 328 1376 328
WIRE -1728 344 -1728 264
WIRE -1728 344 -1776 344
WIRE -1312 344 -1312 216
WIRE -1216 344 -1312 344
WIRE -896 344 -896 200
WIRE -832 344 -896 344
WIRE 208 360 208 280
WIRE 592 360 592 280
WIRE 592 360 208 360
WIRE 2400 360 2400 232
WIRE -2256 376 -2256 280
WIRE -1824 376 -1904 376
WIRE -2208 392 -2208 312
WIRE -2256 424 -2304 424
WIRE 864 424 864 296
WIRE 1168 424 1168 296
WIRE -784 440 -784 360
WIRE 464 456 464 296
WIRE 624 472 624 136
WIRE 624 472 512 472
WIRE 704 472 624 472
WIRE 912 472 864 472
WIRE 1216 472 1168 472
WIRE 464 504 416 504
WIRE 704 504 704 472
WIRE 816 504 704 504
WIRE 2096 520 2096 344
WIRE 704 568 704 504
WIRE 1120 568 1120 504
WIRE 1120 568 704 568
WIRE 2144 568 2096 568
WIRE -2304 600 -2304 424
WIRE -2256 600 -2256 472
WIRE -2256 600 -2304 600
WIRE -2000 600 -2000 248
WIRE -2000 600 -2256 600
WIRE -1904 600 -1904 376
WIRE -1904 600 -2000 600
WIRE -1824 600 -1824 424
WIRE -1824 600 -1904 600
WIRE -1600 600 -1600 312
WIRE -1600 600 -1824 600
WIRE -1552 600 -1552 360
WIRE -1552 600 -1600 600
WIRE -1168 600 -1168 360
WIRE -1168 600 -1552 600
WIRE -1088 600 -1088 312
WIRE -1088 600 -1168 600
WIRE -784 600 -784 520
WIRE -784 600 -1088 600
WIRE -720 600 -720 312
WIRE -720 600 -784 600
WIRE 2048 600 1904 600
WIRE 1904 664 1904 600
WIRE -1552 696 -1552 600
WIRE 32 728 32 312
WIRE 80 728 80 360
WIRE 80 728 32 728
WIRE 352 728 352 248
WIRE 352 728 80 728
WIRE 416 728 416 504
WIRE 416 728 352 728
WIRE 464 728 464 552
WIRE 464 728 416 728
WIRE 864 728 864 520
WIRE 864 728 464 728
WIRE 912 728 912 472
WIRE 912 728 864 728
WIRE 944 728 944 248
WIRE 944 728 912 728
WIRE 1168 728 1168 520
WIRE 1168 728 944 728
WIRE 1216 728 1216 472
WIRE 1216 728 1168 728
WIRE 1248 728 1248 248
WIRE 1248 728 1216 728
WIRE 2096 760 2096 616
WIRE 2144 760 2144 568
WIRE 2144 760 2096 760
WIRE 2192 760 2192 296
WIRE 2192 760 2144 760
WIRE 464 808 464 728
WIRE 2144 872 2144 760
FLAG -2400 -264 0
FLAG -1552 696 0
FLAG -480 88 Vbias
FLAG 1392 -392 Vbias1
FLAG 1408 -136 Vbias2
FLAG 1376 328 Vbias3
FLAG -176 -632 0
FLAG 464 808 0
FLAG 2400 360 0
FLAG 2144 872 0
FLAG 1952 -712 0
FLAG 1904 744 0
FLAG 2400 56 Vout
IOPIN 3600 224 Out
FLAG 1904 600 Vin
IOPIN 3104 768 In
DATAFLAG 1968 496 ""
DATAFLAG 2848 32 ""
DATAFLAG 2896 -224 ""
DATAFLAG 2928 496 ""
DATAFLAG 1232 752 ""
DATAFLAG 3296 -112 ""
DATAFLAG 3296 304 ""
DATAFLAG 3296 608 ""
DATAFLAG 3184 768 ""
DATAFLAG 976 256 ""
DATAFLAG 3344 -608 ""
SYMBOL pmos4 -2208 -56 R180
SYMATTR InstName M1
SYMATTR Value2 l=440n w=220n
SYMBOL nmos4 -2208 472 R180
SYMATTR InstName M2
SYMATTR Value2 l=44n w=220n
SYMBOL pmos4 -1776 88 R180
SYMATTR InstName M3
SYMATTR Value2 l=44n w=528n
SYMBOL nmos4 -2080 200 R0
SYMATTR InstName M4
SYMATTR Value2 l=44n w=88n
SYMBOL pmos4 -1504 -56 R180
SYMATTR InstName M5
SYMATTR Value2 l=44n w=528n
SYMBOL pmos4 -1216 -152 R0
SYMATTR InstName M6
SYMATTR Value2 l=44n w=528n
SYMBOL pmos4 -832 -24 R0
SYMATTR InstName M7
SYMATTR Value2 l=44n w=528n
SYMBOL nmos4 -1504 360 R180
SYMATTR InstName M8
SYMATTR Value2 l=44n w=220n
SYMBOL nmos4 -1216 264 R0
SYMATTR InstName M9
SYMATTR Value2 l=44n w=220n
SYMBOL nmos4 -832 264 R0
SYMATTR InstName M10
SYMATTR Value2 l=44n w=660n
SYMBOL pmos4 -624 -40 R270
SYMATTR InstName M11
SYMBOL nmos4 -1776 424 R180
SYMATTR InstName M12
SYMATTR Value2 l=44n w=220n
SYMBOL voltage -2400 -408 R0
SYMATTR InstName V1
SYMATTR Value 0.8
SYMBOL res -800 424 R0
SYMATTR InstName R1
SYMATTR Value 5.49K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL pmos4 32 -152 R0
SYMATTR InstName M13
SYMATTR Value2 l=44n w=528n
SYMBOL nmos4 128 360 R180
SYMATTR InstName M14
SYMATTR Value2 l=44n w=110n
SYMBOL pmos4 400 -216 R0
SYMATTR InstName M15
SYMATTR Value2 l=44n w=528n
SYMBOL pmos4 912 -56 R180
SYMATTR InstName M16
SYMATTR Value2 l=110n w=440n
SYMBOL pmos4 1216 -56 R180
SYMATTR InstName M17
SYMATTR Value2 l=44n w=528n
SYMBOL pmos4 1216 -312 R180
SYMATTR InstName M18
SYMATTR Value2 l=44n w=528n
SYMBOL nmos4 512 296 R180
SYMATTR InstName M19
SYMATTR Value2 l=44n w=220n
SYMBOL nmos4 512 552 R180
SYMATTR InstName M20
SYMATTR Value2 l=44n w=220n
SYMBOL nmos4 816 200 R0
SYMATTR InstName M21
SYMATTR Value2 l=44n w=220n
SYMBOL nmos4 816 424 R0
SYMATTR InstName M22
SYMATTR Value2 l=44n w=220n
SYMBOL nmos4 1120 200 R0
SYMATTR InstName M23
SYMATTR Value2 l=44n w=220n
SYMBOL nmos4 1120 424 R0
SYMATTR InstName M24
SYMATTR Value2 l=44n w=220n
SYMBOL voltage 48 -632 R90
SYMATTR InstName V2
SYMATTR Value 0.8
SYMBOL pmos4 2048 -472 R0
SYMATTR InstName M25
SYMATTR Value2 l=44n w=572n
SYMBOL pmos4 2048 -216 R0
SYMATTR InstName M26
SYMATTR Value2 l=44n w=594n
SYMBOL nmos4 2048 248 R0
SYMATTR InstName M27
SYMATTR Value2 l=44n w=462n
SYMBOL nmos4 2048 520 R0
SYMATTR InstName M28
SYMATTR Value2 l=44n w=462n
SYMBOL cap 2384 168 R0
SYMATTR InstName C1
SYMATTR Value 1e-12
SYMBOL voltage 1952 -872 R0
SYMATTR InstName V3
SYMATTR Value 0.8
SYMBOL voltage 1904 648 R0
SYMATTR Value2 AC 520m
SYMATTR InstName V4
SYMATTR Value SINE(511m 1m 10000)