* SPICE netlist
M1 N006 N006 N003 N003 CMOSP l=20 w=10
M2 N009 Vbias N003 N003 CMOSP l=2 w=24
M3 N007 N007 N003 N003 CMOSP l=2 w=24
M4 N003 N007 Vbias N003 CMOSP l=2 w=24
M5 N003 Vbias N008 N003 CMOSP l=2 w=24
M6 N003 Vbias N003 N003 CMOSP l=50 w=50
M7 0 N009 N006 0 CMOSN l=2 w=10
M8 Vbias N006 N009 0 CMOSN l=2 w=4
M9 0 N009 N009 0 CMOSN l=2 w=10
M10 0 N008 N007 0 CMOSN l=2 w=10
M11 Vbias N009 0 0 CMOSN l=2 w=10
M12 N008 N008 N012 0 CMOSN l=2 w=30
R1 N012 0 5.49K tol=1 pwr=0.1
V1 N003 0 1.8
M13 N002 Vbias Vbias3 N002 CMOSP l=2 w=24
M14 N002 Vbias Vbias4 N002 CMOSP l=2 w=24
M15 Vbias2 Vbias2 N002 N002 CMOSP l=5 w=20
M16 Vbias1 Vbias2 N005 N002 CMOSP l=2 w=24
M17 N005 Vbias1 N002 N002 CMOSP l=2 w=24
M18 0 Vbias3 Vbias3 0 CMOSN l=2 w=5
M19 N014 Vbias3 Vbias4 0 CMOSN l=2 w=10
M20 0 Vbias4 N014 0 CMOSN l=2 w=10
M21 Vbias2 Vbias3 N013 0 CMOSN l=2 w=10
M22 N013 Vbias4 0 0 CMOSN l=2 w=10
M23 Vbias1 Vbias3 N010 0 CMOSN l=2 w=10
M24 N010 Vbias4 0 0 CMOSN l=2 w=10
V2 N002 0 1.8
M25 N001 Vbias1 N004 N001 CMOSP l=360n w=460n
M26 N004 Vbias2 Vout N001 CMOSP l=360n w=1620n
M27 Vout Vbias3 N011 0 CMOSN l=360n w=1920n
M28 N011 Vin 0 0 CMOSN l=360n w=1480n
C1 Vout 0 1e-12
V3 N001 0 1.8
V4 Vin 0 SINE(461m 5m 1000) AC 0.5
.ac dec 10 100 10meg

* LTspice schematic (.asc)
Version 4
SHEET 1 4016 1440
WIRE 1464 -720 1416 -720
WIRE 1720 -720 1544 -720
WIRE 1784 -720 1720 -720
WIRE 1816 -720 1784 -720
WIRE 1720 -576 1720 -720
WIRE 104 -528 56 -528
WIRE 280 -528 184 -528
WIRE 328 -528 280 -528
WIRE 552 -528 328 -528
WIRE 648 -528 552 -528
WIRE 824 -528 648 -528
WIRE 888 -528 824 -528
WIRE 1032 -528 888 -528
WIRE 1096 -528 1032 -528
WIRE 1128 -528 1096 -528
WIRE 1784 -528 1784 -720
WIRE 1784 -528 1720 -528
WIRE 1128 -496 1128 -528
WIRE 1224 -480 1176 -480
WIRE 1320 -480 1224 -480
WIRE 1672 -480 1672 -496
WIRE 1672 -480 1320 -480
WIRE 1096 -448 1096 -528
WIRE 1128 -448 1096 -448
WIRE -1960 -384 -2008 -384
WIRE -1784 -384 -1880 -384
WIRE -1736 -384 -1784 -384
WIRE -1464 -384 -1736 -384
WIRE -1368 -384 -1464 -384
WIRE -1176 -384 -1368 -384
WIRE -1112 -384 -1176 -384
WIRE -840 -384 -1112 -384
WIRE -808 -384 -840 -384
WIRE -520 -384 -808 -384
WIRE -472 -384 -520 -384
WIRE -280 -384 -472 -384
WIRE 1720 -352 1720 -480
WIRE 1000 -320 968 -320
WIRE 1256 -320 1000 -320
WIRE 1816 -304 1816 -720
WIRE 1816 -304 1720 -304
WIRE 888 -288 888 -528
WIRE 1128 -288 1128 -400
WIRE 888 -272 888 -288
WIRE 968 -272 968 -320
WIRE 968 -272 936 -272
WIRE 1256 -272 1256 -320
WIRE 1256 -272 1176 -272
WIRE 1320 -272 1256 -272
WIRE 1672 -272 1320 -272
WIRE -312 -256 -344 -256
WIRE -280 -256 -280 -384
WIRE -280 -256 -312 -256
WIRE -232 -256 -280 -256
WIRE -1736 -240 -1736 -384
WIRE 824 -240 824 -528
WIRE 888 -240 824 -240
WIRE 1032 -240 1032 -528
WIRE 1128 -240 1032 -240
WIRE -1656 -224 -1688 -224
WIRE -1112 -224 -1112 -384
WIRE -840 -224 -840 -384
WIRE 456 -224 184 -224
WIRE 552 -224 552 -528
WIRE -1016 -208 -1064 -208
WIRE -1000 -208 -1016 -208
WIRE -344 -208 -344 -256
WIRE -344 -208 -392 -208
WIRE -312 -208 -312 -256
WIRE -280 -208 -312 -208
WIRE -232 -208 -232 -256
WIRE -184 -208 -232 -208
WIRE -1784 -192 -1784 -384
WIRE -1736 -192 -1784 -192
WIRE -1176 -176 -1176 -384
WIRE -1112 -176 -1176 -176
WIRE -808 -176 -808 -384
WIRE -808 -176 -840 -176
WIRE 280 -176 280 -528
WIRE 648 -176 648 -528
WIRE 648 -176 552 -176
WIRE 1128 -160 1128 -192
WIRE 1224 -160 1224 -480
WIRE 1224 -160 1128 -160
WIRE -1368 -144 -1368 -384
WIRE -1000 -144 -1000 -208
WIRE -888 -144 -1000 -144
WIRE -392 -144 -392 -208
WIRE -328 -144 -392 -144
WIRE -280 -144 -280 -208
WIRE -184 -144 -184 -208
WIRE -184 -144 -232 -144
WIRE 456 -144 456 -224
WIRE 504 -144 456 -144
WIRE 888 -144 888 -192
WIRE 1000 -144 1000 -320
WIRE 1000 -144 888 -144
WIRE -1272 -128 -1320 -128
WIRE 328 -128 328 -528
WIRE 328 -128 280 -128
WIRE -1112 -112 -1112 -128
WIRE -1016 -112 -1016 -208
WIRE -1016 -112 -1112 -112
WIRE -1464 -96 -1464 -384
WIRE -1368 -96 -1464 -96
WIRE 184 -96 184 -224
WIRE 184 -96 120 -96
WIRE 232 -96 184 -96
WIRE -1736 -80 -1736 -144
WIRE -1656 -80 -1656 -224
WIRE -1656 -80 -1736 -80
WIRE -1272 -80 -1272 -128
WIRE -840 -80 -840 -128
WIRE -840 -80 -1272 -80
WIRE -616 -80 -840 -80
WIRE -248 -80 -248 -96
WIRE -248 -80 -616 -80
WIRE -200 -80 -248 -80
WIRE 120 -80 120 -96
WIRE 120 -80 -200 -80
WIRE 1720 -80 1720 -256
WIRE 2008 -80 1720 -80
WIRE -520 -48 -520 -384
WIRE 2008 -16 2008 -80
WIRE -1272 0 -1272 -80
WIRE -1272 0 -1512 0
WIRE -472 0 -472 -384
WIRE -472 0 -520 0
WIRE 1128 0 1128 -160
WIRE 552 16 552 -128
WIRE 664 16 552 16
WIRE -616 32 -616 -80
WIRE -568 32 -616 32
WIRE 280 32 280 -80
WIRE 392 32 280 32
WIRE 1000 32 776 32
WIRE 1192 48 1128 48
WIRE 888 64 888 -144
WIRE 1720 64 1720 -80
WIRE 1000 80 1000 32
WIRE 1080 80 1000 80
WIRE -1512 96 -1512 0
WIRE 392 96 392 32
WIRE 392 96 360 96
WIRE 648 96 392 96
WIRE -632 112 -1000 112
WIRE -520 112 -520 48
WIRE -520 112 -632 112
WIRE 280 112 280 32
WIRE 552 112 552 16
WIRE 952 112 888 112
WIRE 1784 112 1720 112
WIRE 360 128 360 96
WIRE 360 128 328 128
WIRE 648 128 648 96
WIRE 648 128 600 128
WIRE 712 128 648 128
WIRE 1000 128 1000 80
WIRE 1288 128 1000 128
WIRE 1320 128 1288 128
WIRE 1336 128 1320 128
WIRE -1480 144 -1512 144
WIRE -904 160 -1272 160
WIRE 280 160 248 160
WIRE 552 160 456 160
WIRE 712 160 712 128
WIRE 776 160 776 32
WIRE 776 160 712 160
WIRE 840 160 840 144
WIRE 840 160 776 160
WIRE 1288 160 1288 128
WIRE 1672 160 1672 144
WIRE 1672 160 1288 160
WIRE -1736 176 -1736 -80
WIRE -1560 176 -1736 176
WIRE 2008 176 2008 48
WIRE -520 192 -520 112
WIRE -1736 208 -1736 176
WIRE -840 208 -840 -80
WIRE -1512 224 -1512 192
WIRE -1512 224 -1688 224
WIRE -1368 224 -1368 -48
WIRE -1368 224 -1512 224
WIRE -1272 224 -1272 160
WIRE -1272 224 -1368 224
WIRE -1112 224 -1112 -112
WIRE -1000 240 -1000 112
WIRE -1000 240 -1064 240
WIRE -472 240 -520 240
WIRE 1128 240 1128 96
WIRE -1736 256 -1768 256
WIRE -824 256 -840 256
WIRE -1368 272 -1368 224
WIRE -1112 272 -1144 272
WIRE -632 272 -632 112
WIRE -568 272 -632 272
WIRE -1272 288 -1272 224
WIRE -1272 288 -1320 288
WIRE -904 288 -904 160
WIRE -888 288 -904 288
WIRE 1160 288 1128 288
WIRE 1720 304 1720 160
WIRE -1368 320 -1432 320
WIRE 1016 320 728 320
WIRE 1080 320 1016 320
WIRE -520 336 -520 288
WIRE 888 336 888 160
WIRE 552 352 552 208
WIRE 1752 352 1720 352
WIRE 552 368 552 352
WIRE 664 368 664 16
WIRE 664 368 600 368
WIRE 728 368 728 320
WIRE 728 368 664 368
WIRE 920 384 888 384
WIRE 1672 384 1528 384
WIRE 552 400 520 400
WIRE 728 416 728 368
WIRE 840 416 728 416
WIRE 1528 448 1528 384
WIRE -1768 480 -1768 256
WIRE -1736 480 -1736 304
WIRE -1736 480 -1768 480
WIRE -1480 480 -1480 144
WIRE -1480 480 -1736 480
WIRE -1432 480 -1432 320
WIRE -1432 480 -1480 480
WIRE -1368 480 -1368 368
WIRE -1368 480 -1432 480
WIRE -1144 480 -1144 272
WIRE -1144 480 -1368 480
WIRE -1112 480 -1112 320
WIRE -1112 480 -1144 480
WIRE -1048 480 -1112 480
WIRE -840 480 -840 304
WIRE -840 480 -1048 480
WIRE -824 480 -824 256
WIRE -824 480 -840 480
WIRE -520 480 -520 416
WIRE -520 480 -824 480
WIRE -472 480 -472 240
WIRE -472 480 -520 480
WIRE 248 528 248 160
WIRE 280 528 280 208
WIRE 280 528 248 528
WIRE 456 528 456 160
WIRE 456 528 280 528
WIRE 520 528 520 400
WIRE 520 528 456 528
WIRE 552 528 552 448
WIRE 552 528 520 528
WIRE 696 528 552 528
WIRE 888 528 888 432
WIRE 888 528 696 528
WIRE 920 528 920 384
WIRE 920 528 888 528
WIRE 952 528 952 112
WIRE 952 528 920 528
WIRE 1128 528 1128 336
WIRE 1128 528 952 528
WIRE 1160 528 1160 288
WIRE 1160 528 1128 528
WIRE 1192 528 1192 48
WIRE 1192 528 1160 528
WIRE -1048 560 -1048 480
WIRE 696 640 696 528
WIRE 1720 640 1720 400
WIRE 1752 640 1752 352
WIRE 1752 640 1720 640
WIRE 1784 640 1784 112
WIRE 1784 640 1752 640
WIRE 1528 656 1528 528
WIRE 1752 656 1752 640
WIRE 1752 656 1528 656
WIRE 1752 720 1752 656
FLAG -200 -80 Vbias
FLAG -2008 -384 0
FLAG 56 -528 0
FLAG 696 640 0
FLAG -1048 560 0
FLAG 1320 -480 Vbias1
FLAG 1320 -272 Vbias2
FLAG 1320 128 Vbias3
FLAG 1016 320 Vbias4
FLAG 1416 -720 0
FLAG 2008 176 0
FLAG 1752 720 0
FLAG 2008 -80 Vout
IOPIN 1616 -1744 Out
FLAG 1528 384 Vin
IOPIN 1136 -1280 In
DATAFLAG 1088 -1504 ""
DATAFLAG 1104 -1936 ""
DATAFLAG 1120 -2144 ""
DATAFLAG -464 -1744 ""
DATAFLAG 1328 -2064 ""
DATAFLAG 1328 -2272 ""
DATAFLAG 1328 -1840 ""
DATAFLAG 1328 -1424 ""
DATAFLAG 1328 -1200 ""
DATAFLAG 1184 -1280 ""
DATAFLAG 384 -1344 ""
SYMBOL pmos4 -1688 -144 R180
SYMATTR InstName M1
SYMATTR Value CMOSP
SYMATTR Value2 l=20 w=10
SYMBOL pmos4 -1320 -48 R180
SYMATTR InstName M2
SYMATTR Value CMOSP
SYMATTR Value2 l=2 w=24
SYMBOL pmos4 -1064 -128 R180
SYMATTR InstName M3
SYMATTR Value CMOSP
SYMATTR Value2 l=2 w=24
SYMBOL pmos4 -888 -224 R0
SYMATTR InstName M4
SYMATTR Value CMOSP
SYMATTR Value2 l=2 w=24
SYMBOL pmos4 -568 -48 R0
SYMATTR InstName M5
SYMATTR Value CMOSP
SYMATTR Value2 l=2 w=24
SYMBOL pmos4 -328 -96 R270
SYMATTR InstName M6
SYMATTR Value CMOSP
SYMATTR Value2 l=50 w=50
SYMBOL nmos4 -1688 304 R180
SYMATTR InstName M7
SYMATTR Value CMOSN
SYMATTR Value2 l=2 w=10
SYMBOL nmos4 -1560 96 R0
SYMATTR InstName M8
SYMATTR Value CMOSN
SYMATTR Value2 l=2 w=4
SYMBOL nmos4 -1320 368 R180
SYMATTR InstName M9
SYMATTR Value CMOSN
SYMATTR Value2 l=2 w=10
SYMBOL nmos4 -1064 320 R180
SYMATTR InstName M10
SYMATTR Value CMOSN
SYMATTR Value2 l=2 w=10
SYMBOL nmos4 -888 208 R0
SYMATTR InstName M11
SYMATTR Value CMOSN
SYMATTR Value2 l=2 w=10
SYMBOL nmos4 -568 192 R0
SYMATTR InstName M12
SYMATTR Value CMOSN
SYMATTR Value2 l=2 w=30
SYMBOL res -536 320 R0
SYMATTR InstName R1
SYMATTR Value 5.49K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL voltage -1864 -384 R90
SYMATTR InstName V1
SYMATTR Value 1.8
SYMBOL pmos4 232 -176 R0
SYMATTR InstName M13
SYMATTR Value CMOSP
SYMATTR Value2 l=2 w=24
SYMBOL pmos4 504 -224 R0
SYMATTR InstName M14
SYMATTR Value CMOSP
SYMATTR Value2 l=2 w=24
SYMBOL pmos4 936 -192 R180
SYMATTR InstName M15
SYMATTR Value CMOSP
SYMATTR Value2 l=5 w=20
SYMBOL pmos4 1176 -192 R180
SYMATTR InstName M16
SYMATTR Value CMOSP
SYMATTR Value2 l=2 w=24
SYMBOL pmos4 1176 -400 R180
SYMATTR InstName M17
SYMATTR Value CMOSP
SYMATTR Value2 l=2 w=24
SYMBOL nmos4 328 208 R180
SYMATTR InstName M18
SYMATTR Value CMOSN
SYMATTR Value2 l=2 w=5
SYMBOL nmos4 600 208 R180
SYMATTR InstName M19
SYMATTR Value CMOSN
SYMATTR Value2 l=2 w=10
SYMBOL nmos4 600 448 R180
SYMATTR InstName M20
SYMATTR Value CMOSN
SYMATTR Value2 l=2 w=10
SYMBOL nmos4 840 64 R0
SYMATTR InstName M21
SYMATTR Value CMOSN
SYMATTR Value2 l=2 w=10
SYMBOL nmos4 840 336 R0
SYMATTR InstName M22
SYMATTR Value CMOSN
SYMATTR Value2 l=2 w=10
SYMBOL nmos4 1080 0 R0
SYMATTR InstName M23
SYMATTR Value CMOSN
SYMATTR Value2 l=2 w=10
SYMBOL nmos4 1080 240 R0
SYMATTR InstName M24
SYMATTR Value CMOSN
SYMATTR Value2 l=2 w=10
SYMBOL voltage 200 -528 R90
SYMATTR InstName V2
SYMATTR Value 1.8
SYMBOL pmos4 1672 -576 R0
SYMATTR InstName M25
SYMATTR Value CMOSP
SYMATTR Value2 l=360n w=460n
SYMBOL pmos4 1672 -352 R0
SYMATTR InstName M26
SYMATTR Value CMOSP
SYMATTR Value2 l=360n w=1620n
SYMBOL nmos4 1672 64 R0
SYMATTR InstName M27
SYMATTR Value CMOSN
SYMATTR Value2 l=360n w=1920n
SYMBOL nmos4 1672 304 R0
SYMATTR InstName M28
SYMATTR Value CMOSN
SYMATTR Value2 l=360n w=1480n
SYMBOL cap 1992 -16 R0
SYMATTR InstName C1
SYMATTR Value 1e-12
SYMBOL voltage 1560 -720 R90
SYMATTR InstName V3
SYMATTR Value 1.8
SYMBOL voltage 1528 432 R0
SYMATTR Value2 AC 0.5
SYMATTR InstName V4
SYMATTR Value SINE(461m 5m 1000)