* SPICE netlist
M1 N002 N004 0 0 NMOS l=44n w=220n
M2 Vdd N002 N002 Vdd PMOS l=440n w=220n
M3 V_beta N002 N004 N004 NMOS l=44n w=88n
M4 Vdd V_beta N004 Vdd PMOS l=44n w=528n
M5 N004 N004 0 0 NMOS l=44n w=220n
M6 Vdd N001 N001 Vdd PMOS l=44n w=528n
M7 N001 N003 0 0 NMOS l=44n w=220n
M8 Vdd N001 V_beta Vdd PMOS l=44n w=528n
M9 V_beta N004 0 0 NMOS l=44n w=220n
M10 Vdd V_beta N003 Vdd PMOS l=44n w=528n
M11 N003 N003 N005 N005 NMOS l=44n w=660n
R1 N005 0 5.5k
M12 Vdd V_beta Vdd Vdd PMOS l=1100n w=1100n
V1 Vdd 0 0.8
M13 Vdd V_beta V_bias3 Vdd PMOS l=44n w=528n
M14 Vdd V_beta N009 Vdd PMOS l=44n w=528n
M15 V_bias3 V_bias3 0 0 NMOS l=44n w=110n
M16 N009 V_bias3 N012 N012 NMOS l=44n w=220n
M17 N012 N009 0 0 NMOS l=44n w=220n
M18 V_bias2 V_bias3 N013 N013 NMOS l=44n w=220n
M19 N013 N009 0 0 NMOS l=44n w=220n
M20 Vdd V_bias2 V_bias2 Vdd PMOS l=110n w=440n
M21 N008 V_bias2 V_bias1 N008 PMOS l=44n w=528n
M22 V_bias1 V_bias3 N011 N011 NMOS l=44n w=220n
M23 N011 N009 0 0 NMOS l=44n w=220n
M24 Vdd V_bias1 N008 Vdd PMOS l=44n w=528n
M25 Vout V_bias3 N010 N010 NMOS l=44n w=242n
M26 N010 N014 0 0 NMOS l=44n w=242n
M27 N006 V_bias2 Vout N006 PMOS l=44n w=550n
M28 Vdd V_bias1 N006 Vdd PMOS l=44n w=550n
C1 Vout 0 1e-12
V2 N014 0 SINE(578.5m 10m 50K) AC 1
;tran 100u
;tran 1
.ac dec 100 100 1Meg

* LTspice schematic (.asc)
Version 4
SHEET 1 5520 3408
WIRE 1848 -1528 1800 -1528
WIRE 1896 -1528 1848 -1528
WIRE -216 -1512 -216 -1560
WIRE -216 -1512 -312 -1512
WIRE 312 -1512 312 -1576
WIRE 312 -1512 248 -1512
WIRE 920 -1512 920 -1576
WIRE 1000 -1512 920 -1512
WIRE -1000 -1480 -1000 -1560
WIRE -1000 -1480 -1128 -1480
WIRE -216 -1464 -216 -1512
WIRE 312 -1464 312 -1512
WIRE 920 -1464 920 -1512
WIRE 312 -1448 312 -1464
WIRE -1000 -1432 -1000 -1480
WIRE -312 -1416 -312 -1512
WIRE -216 -1416 -312 -1416
WIRE 248 -1416 248 -1512
WIRE 312 -1416 248 -1416
WIRE 1000 -1416 1000 -1512
WIRE 1000 -1416 920 -1416
WIRE 1800 -1416 1800 -1528
WIRE 1848 -1416 1800 -1416
WIRE -1128 -1384 -1128 -1480
WIRE -1000 -1384 -1128 -1384
WIRE 424 -1384 360 -1384
WIRE 872 -1384 424 -1384
WIRE 1320 -1368 1320 -1576
WIRE 1416 -1368 1320 -1368
WIRE -904 -1352 -952 -1352
WIRE 312 -1320 312 -1368
WIRE 424 -1320 424 -1384
WIRE 424 -1320 312 -1320
WIRE 1800 -1320 1800 -1416
WIRE 1848 -1320 1848 -1416
WIRE 1896 -1320 1896 -1528
WIRE 1320 -1304 1320 -1368
WIRE -168 -1272 -168 -1384
WIRE -168 -1272 -504 -1272
WIRE 920 -1272 920 -1368
WIRE 920 -1272 -168 -1272
WIRE 1208 -1272 920 -1272
WIRE -1000 -1256 -1000 -1336
WIRE -904 -1256 -904 -1352
WIRE -904 -1256 -1000 -1256
WIRE 1416 -1256 1416 -1368
WIRE 1416 -1256 1320 -1256
WIRE 1208 -1224 1208 -1272
WIRE 1272 -1224 1208 -1224
WIRE 1336 -1208 1320 -1208
WIRE 1208 -1176 1208 -1224
WIRE 1880 -1176 1880 -1272
WIRE 1880 -1176 1208 -1176
WIRE 1992 -1176 1880 -1176
WIRE -504 -1144 -504 -1272
WIRE -360 -1096 -504 -1096
WIRE 1336 -1080 1336 -1208
WIRE 1336 -1080 1208 -1080
WIRE -1000 -1064 -1000 -1256
WIRE -552 -1064 -1000 -1064
WIRE 1336 -1048 1336 -1080
WIRE -1000 -1016 -1000 -1064
WIRE 1448 -1000 1336 -1000
WIRE -1000 -968 -1112 -968
WIRE 1208 -968 1208 -1080
WIRE 1208 -968 680 -968
WIRE 1288 -968 1208 -968
WIRE -504 -936 -504 -1048
WIRE -504 -936 -952 -936
WIRE -360 -936 -360 -1096
WIRE -360 -936 -504 -936
WIRE -216 -936 -216 -1368
WIRE -216 -936 -360 -936
WIRE -104 -936 -216 -936
WIRE 776 -936 -104 -936
WIRE 920 -936 920 -1272
WIRE 920 -936 904 -936
WIRE 312 -920 312 -1320
WIRE -216 -904 -216 -936
WIRE 1016 -888 904 -888
WIRE -1112 -872 -1112 -968
WIRE -1000 -872 -1000 -920
WIRE -1000 -872 -1112 -872
WIRE 312 -872 216 -872
WIRE 1336 -872 1336 -952
WIRE 1448 -872 1448 -1000
WIRE 1448 -872 1336 -872
WIRE -216 -856 -312 -856
WIRE 776 -856 776 -936
WIRE 856 -856 776 -856
WIRE 680 -840 680 -968
WIRE 680 -840 360 -840
WIRE -104 -824 -104 -936
WIRE -104 -824 -168 -824
WIRE -312 -792 -312 -856
WIRE -216 -792 -216 -808
WIRE -216 -792 -312 -792
WIRE 216 -792 216 -872
WIRE 312 -792 312 -824
WIRE 312 -792 216 -792
WIRE 904 -760 904 -840
WIRE 1016 -760 1016 -888
WIRE 1016 -760 904 -760
WIRE -1000 -744 -1000 -872
WIRE -216 -728 -216 -792
WIRE 312 -728 312 -792
WIRE 904 -728 904 -760
WIRE 1880 -168 1880 -264
WIRE 1976 -168 1880 -168
WIRE 1880 -120 1880 -168
WIRE 1976 -72 1976 -168
WIRE 1976 -72 1880 -72
WIRE -936 -40 -936 -56
WIRE -936 -40 -1032 -40
WIRE 1832 -40 1608 -40
WIRE -936 8 -936 -40
WIRE -1032 56 -1032 -40
WIRE -936 56 -1032 56
WIRE -568 88 -888 88
WIRE -264 88 -568 88
WIRE 1880 232 1880 -24
WIRE 1976 232 1880 232
WIRE -2616 280 -2616 184
WIRE -2536 280 -2616 280
WIRE -2056 280 -2056 200
WIRE -1944 280 -2056 280
WIRE 1880 296 1880 232
WIRE -2616 312 -2616 280
WIRE 1976 344 1976 232
WIRE 1976 344 1880 344
WIRE -2536 360 -2536 280
WIRE -2536 360 -2616 360
WIRE -2056 376 -2056 280
WIRE 1832 376 1608 376
WIRE -2712 392 -2760 392
WIRE -2664 392 -2712 392
WIRE -2088 408 -2104 408
WIRE -1944 424 -1944 280
WIRE -1944 424 -2056 424
WIRE -1464 424 -1464 360
WIRE -1464 424 -1576 424
WIRE -2712 456 -2712 392
WIRE -2104 456 -2712 456
WIRE -936 456 -936 104
WIRE -936 456 -1032 456
WIRE -1464 504 -1464 424
WIRE -936 520 -936 456
WIRE -1576 552 -1576 424
WIRE -1464 552 -1576 552
WIRE -1032 568 -1032 456
WIRE -936 568 -1032 568
WIRE -1288 584 -1416 584
WIRE -792 600 -888 600
WIRE -248 600 -792 600
WIRE 1880 616 1880 392
WIRE 2600 616 1880 616
WIRE 2760 616 2600 616
WIRE -1464 680 -1464 600
WIRE -1288 680 -1288 584
WIRE -1288 680 -1464 680
WIRE -792 680 -792 600
WIRE -792 680 -1288 680
WIRE -936 760 -936 616
WIRE -568 760 -568 88
WIRE -568 760 -936 760
WIRE 2600 776 2600 616
WIRE -2056 792 -2056 472
WIRE -1752 792 -2056 792
WIRE -2616 840 -2616 408
WIRE -2440 840 -2616 840
WIRE -1080 840 -1592 840
WIRE 1880 872 1880 616
WIRE -2616 888 -2616 840
WIRE -936 904 -936 760
WIRE 2600 904 2600 840
WIRE -2056 920 -2056 792
WIRE -1464 920 -1464 680
WIRE -1464 920 -1480 920
WIRE 2024 920 1880 920
WIRE -2616 936 -2744 936
WIRE -1080 936 -1080 840
WIRE -824 952 -936 952
WIRE 1832 952 1608 952
WIRE -2440 968 -2440 840
WIRE -2440 968 -2568 968
WIRE -2152 968 -2440 968
WIRE -2056 968 -2104 968
WIRE -2040 968 -2056 968
WIRE -1384 968 -1480 968
WIRE -1080 984 -1080 936
WIRE -984 984 -1080 984
WIRE -1928 1000 -2008 1000
WIRE -1592 1000 -1592 840
WIRE -1592 1000 -1928 1000
WIRE -1528 1000 -1592 1000
WIRE -936 1032 -936 1000
WIRE -824 1032 -824 952
WIRE -824 1032 -936 1032
WIRE 1880 1048 1880 968
WIRE 2024 1048 2024 920
WIRE 2024 1048 1880 1048
WIRE -1480 1064 -1480 1016
WIRE -1384 1064 -1384 968
WIRE -1384 1064 -1480 1064
WIRE -2104 1080 -2104 968
WIRE -2056 1080 -2056 1016
WIRE -2056 1080 -2104 1080
WIRE -2744 1096 -2744 936
WIRE -2616 1096 -2616 984
WIRE -2616 1096 -2744 1096
WIRE -2152 1112 -2152 968
WIRE -1928 1112 -1928 1000
WIRE -1928 1112 -2152 1112
WIRE -2616 1160 -2616 1096
WIRE -1032 1256 -1576 1256
WIRE -936 1272 -936 1032
WIRE -2056 1288 -2056 1080
WIRE -1480 1288 -1480 1064
WIRE -792 1320 -936 1320
WIRE -2056 1336 -2216 1336
WIRE -1336 1336 -1480 1336
WIRE 1880 1336 1880 1048
WIRE -1032 1352 -1032 1256
WIRE -984 1352 -1032 1352
WIRE 1880 1352 1880 1336
WIRE -1752 1368 -1752 792
WIRE -1752 1368 -2008 1368
WIRE -1576 1368 -1576 1256
WIRE -1576 1368 -1752 1368
WIRE -1528 1368 -1576 1368
WIRE -2040 1384 -2056 1384
WIRE 2024 1384 1880 1384
WIRE 1832 1416 1608 1416
WIRE -2216 1448 -2216 1336
WIRE -2040 1448 -2040 1384
WIRE -2040 1448 -2216 1448
WIRE -1480 1448 -1480 1384
WIRE -1336 1448 -1336 1336
WIRE -1336 1448 -1480 1448
WIRE -936 1448 -936 1368
WIRE -792 1448 -792 1320
WIRE -792 1448 -936 1448
WIRE 1608 1496 1608 1416
WIRE 1880 1512 1880 1432
WIRE 2024 1512 2024 1384
WIRE 2024 1512 1880 1512
WIRE -2040 1560 -2040 1448
WIRE -1480 1560 -1480 1448
WIRE -936 1560 -936 1448
WIRE 1608 1704 1608 1576
FLAG 312 -728 0
FLAG 904 -728 0
FLAG 1336 -792 0
FLAG -216 -728 0
FLAG -1000 -744 0
FLAG -216 -1560 Vdd
FLAG 312 -1576 Vdd
FLAG 920 -1576 Vdd
FLAG 1320 -1576 Vdd
FLAG 1848 -1528 Vdd
FLAG -1000 -1560 Vdd
FLAG -648 -1688 Vdd
FLAG -648 -1608 0
FLAG 1992 -1176 V_beta
FLAG -2616 1160 0
FLAG -2040 1560 0
FLAG -1480 1560 0
FLAG -936 1560 0
FLAG -2616 184 Vdd
FLAG -2056 200 Vdd
FLAG -1464 360 Vdd
FLAG -936 -56 Vdd
FLAG -2760 392 V_beta
FLAG -264 88 V_bias1
FLAG -248 600 V_bias2
FLAG 1608 -40 V_bias1
FLAG 1608 376 V_bias2
FLAG 1608 952 V_bias3
FLAG 1880 1512 0
FLAG 2600 904 0
FLAG 1880 -264 Vdd
FLAG 1608 1704 0
FLAG 2760 616 Vout
FLAG -1080 936 V_bias3
SYMBOL nmos4 -952 -1016 M0
SYMATTR InstName M1
SYMATTR Value2 l=44n w=220n
SYMBOL pmos4 -952 -1432 M0
SYMATTR InstName M2
SYMATTR Value2 l=440n w=220n
SYMBOL nmos4 -552 -1144 R0
SYMATTR InstName M3
SYMATTR Value2 l=44n w=88n
SYMBOL pmos4 -168 -1464 M0
SYMATTR InstName M4
SYMATTR Value2 l=44n w=528n
SYMBOL nmos4 -168 -904 M0
SYMATTR InstName M5
SYMATTR Value2 l=44n w=220n
SYMBOL pmos4 360 -1464 M0
SYMATTR InstName M6
SYMATTR Value2 l=44n w=528n
SYMBOL nmos4 360 -920 M0
SYMATTR InstName M7
SYMATTR Value2 l=44n w=220n
SYMBOL pmos4 872 -1464 R0
SYMATTR InstName M8
SYMATTR Value2 l=44n w=528n
SYMBOL nmos4 856 -936 R0
SYMATTR InstName M9
SYMATTR Value2 l=44n w=220n
SYMBOL pmos4 1272 -1304 R0
SYMATTR InstName M10
SYMATTR Value2 l=44n w=528n
SYMBOL nmos4 1288 -1048 R0
SYMATTR InstName M11
SYMATTR Value2 l=44n w=660n
SYMBOL res 1320 -888 R0
SYMATTR InstName R1
SYMATTR Value 5.5k
SYMBOL pmos4 1800 -1272 R270
SYMATTR InstName M12
SYMATTR Value2 l=1100n w=1100n
SYMBOL voltage -648 -1704 R0
SYMATTR InstName V1
SYMATTR Value 0.8
SYMBOL pmos4 -2664 312 R0
SYMATTR InstName M13
SYMATTR Value2 l=44n w=528n
SYMBOL pmos4 -2104 376 R0
SYMATTR InstName M14
SYMATTR Value2 l=44n w=528n
SYMBOL nmos4 -2568 888 M0
SYMATTR InstName M15
SYMATTR Value2 l=44n w=110n
SYMBOL nmos4 -2008 920 M0
SYMATTR InstName M16
SYMATTR Value2 l=44n w=220n
SYMBOL nmos4 -2008 1288 M0
SYMATTR InstName M17
SYMATTR Value2 l=44n w=220n
SYMBOL nmos4 -1528 920 R0
SYMATTR InstName M18
SYMATTR Value2 l=44n w=220n
SYMBOL nmos4 -1528 1288 R0
SYMATTR InstName M19
SYMATTR Value2 l=44n w=220n
SYMBOL pmos4 -1416 504 M0
SYMATTR InstName M20
SYMATTR Value2 l=110n w=440n
SYMBOL pmos4 -888 520 M0
SYMATTR InstName M21
SYMATTR Value2 l=44n w=528n
SYMBOL nmos4 -984 904 R0
SYMATTR InstName M22
SYMATTR Value2 l=44n w=220n
SYMBOL nmos4 -984 1272 R0
SYMATTR InstName M23
SYMATTR Value2 l=44n w=220n
SYMBOL pmos4 -888 8 M0
SYMATTR InstName M24
SYMATTR Value2 l=44n w=528n
SYMBOL nmos4 1832 872 R0
SYMATTR InstName M25
SYMATTR Value2 l=44n w=242n
SYMBOL nmos4 1832 1336 R0
SYMATTR InstName M26
SYMATTR Value2 l=44n w=242n
SYMBOL pmos4 1832 296 R0
SYMATTR InstName M27
SYMATTR Value2 l=44n w=550n
SYMBOL pmos4 1832 -120 R0
SYMATTR InstName M28
SYMATTR Value2 l=44n w=550n
SYMBOL cap 2584 776 R0
SYMATTR InstName C1
SYMATTR Value 1e-12
SYMBOL voltage 1608 1480 R0
SYMATTR Value2 AC 1
SYMATTR InstName V2
SYMATTR Value SINE(578.5m 10m 50K)