* SPICE netlist
VCM vcm 0 1.5 AC 0
Vid1 vid1 vcm 0 AC 0.5
Vid2 vid2 vcm 0 AC -0.5
VDD2 N001 0 3.3
CL2 vout_ol 0 1p
M17 N004 Vid2 N003 N003 PMOS-SH l=0.35u w=10u
M18 N005 Vid1 N003 N003 PMOS-SH l=0.35u w=10u
M19 N003 N002 N001 N001 PMOS-SH l=0.35u w=20u
M20 N004 N004 0 0 NMOS-SH l=0.35u w=10u
M21 N005 N004 0 0 NMOS-SH l=0.35u w=10u
M22 vout_ol N005 0 0 NMOS-SH l=0.35u w=50u
M23 vout_ol N002 N001 N001 PMOS-SH l=0.35u w=50u
M24 N002 N002 N001 N001 PMOS-SH l=0.35u w=10u
Cc2 N005 vout_ol 0.2p
R7 N002 0 100k
VDD3 N006 0 3.3
CL3 vout2_ol 0 1p
M25 N009 Vid2 N008 N008 PMOS-SH2 l=1.05u w=30u
M26 N010 Vid1 N008 N008 PMOS-SH2 l=1.05u w=30u
M27 N008 N007 N006 N006 PMOS-SH2 l=1.05u w=60u
M28 N009 N009 0 0 NMOS-SH2 l=1.05u w=30u
M29 N010 N009 0 0 NMOS-SH2 l=1.05u w=30u
M30 vout2_ol N010 0 0 NMOS-SH2 l=1.05u w=150u
M31 vout2_ol N007 N006 N006 PMOS-SH2 l=1.05u w=150u
M32 N007 N007 N006 N006 PMOS-SH2 l=1.05u w=30u
Cc3 N010 vout2_ol 0.2p
R8 N007 0 100k
;op
.ac oct 100 1k 1G

* LTspice schematic (.asc)
Version 4
SHEET 1 2144 1664
WIRE -832 -832 -1072 -832
WIRE -784 -832 -832 -832
WIRE -240 -832 -784 -832
WIRE -144 -832 -240 -832
WIRE 336 -832 -144 -832
WIRE 400 -832 336 -832
WIRE -784 -784 -784 -832
WIRE -240 -784 -240 -832
WIRE -672 -768 -736 -768
WIRE -384 -768 -672 -768
WIRE -288 -768 -384 -768
WIRE 336 -768 336 -832
WIRE 704 -768 640 -768
WIRE 784 -768 704 -768
WIRE 960 -768 864 -768
WIRE 288 -752 32 -752
WIRE -832 -736 -832 -832
WIRE -784 -736 -832 -736
WIRE -144 -736 -144 -832
WIRE -144 -736 -240 -736
WIRE 400 -720 400 -832
WIRE 400 -720 336 -720
WIRE 960 -720 960 -768
WIRE 1024 -720 960 -720
WIRE 1072 -720 1024 -720
WIRE -384 -672 -384 -768
WIRE 32 -672 32 -752
WIRE 32 -672 -384 -672
WIRE -352 -624 -416 -624
WIRE -240 -624 -240 -688
WIRE -240 -624 -352 -624
WIRE -112 -624 -240 -624
WIRE -48 -624 -112 -624
WIRE 704 -624 640 -624
WIRE 784 -624 704 -624
WIRE 960 -624 960 -720
WIRE 960 -624 864 -624
WIRE -784 -608 -784 -688
WIRE -672 -608 -672 -768
WIRE -672 -608 -784 -608
WIRE 1072 -608 1072 -720
WIRE -416 -560 -416 -624
WIRE -48 -560 -48 -624
WIRE -544 -544 -640 -544
WIRE -464 -544 -544 -544
WIRE 96 -544 0 -544
WIRE 176 -544 96 -544
WIRE -352 -512 -352 -624
WIRE -352 -512 -416 -512
WIRE -112 -512 -112 -624
WIRE -48 -512 -112 -512
WIRE 336 -480 336 -672
WIRE 464 -480 336 -480
WIRE 608 -480 464 -480
WIRE 1072 -480 1072 -528
WIRE -784 -432 -784 -608
WIRE -416 -384 -416 -464
WIRE -240 -384 -416 -384
WIRE -48 -352 -48 -464
WIRE 144 -352 -48 -352
WIRE 208 -352 144 -352
WIRE 336 -352 336 -480
WIRE 336 -352 272 -352
WIRE 608 -352 608 -480
WIRE -1072 -304 -1072 -832
WIRE -416 -288 -416 -384
WIRE -48 -288 -48 -352
WIRE 336 -272 336 -352
WIRE -416 -240 -480 -240
WIRE 16 -240 -48 -240
WIRE 400 -224 336 -224
WIRE -240 -208 -240 -384
WIRE -240 -208 -368 -208
WIRE -96 -208 -240 -208
WIRE 144 -192 144 -352
WIRE 288 -192 144 -192
WIRE -1072 -96 -1072 -224
WIRE -784 -96 -784 -352
WIRE -784 -96 -1072 -96
WIRE -480 -96 -480 -240
WIRE -480 -96 -784 -96
WIRE -416 -96 -416 -192
WIRE -416 -96 -480 -96
WIRE -48 -96 -48 -192
WIRE -48 -96 -416 -96
WIRE 16 -96 16 -240
WIRE 16 -96 -48 -96
WIRE 336 -96 336 -176
WIRE 336 -96 16 -96
WIRE 400 -96 400 -224
WIRE 400 -96 336 -96
WIRE 608 -96 608 -288
WIRE 608 -96 400 -96
WIRE -1072 -64 -1072 -96
WIRE -816 64 -1056 64
WIRE -768 64 -816 64
WIRE -224 64 -768 64
WIRE -128 64 -224 64
WIRE 352 64 -128 64
WIRE 416 64 352 64
WIRE -768 112 -768 64
WIRE -224 112 -224 64
WIRE -656 128 -720 128
WIRE -368 128 -656 128
WIRE -272 128 -368 128
WIRE 352 128 352 64
WIRE 304 144 48 144
WIRE -816 160 -816 64
WIRE -768 160 -816 160
WIRE -128 160 -128 64
WIRE -128 160 -224 160
WIRE 416 176 416 64
WIRE 416 176 352 176
WIRE -368 224 -368 128
WIRE 48 224 48 144
WIRE 48 224 -368 224
WIRE -336 272 -400 272
WIRE -224 272 -224 208
WIRE -224 272 -336 272
WIRE -96 272 -224 272
WIRE -32 272 -96 272
WIRE -768 288 -768 208
WIRE -656 288 -656 128
WIRE -656 288 -768 288
WIRE -400 336 -400 272
WIRE -32 336 -32 272
WIRE -528 352 -624 352
WIRE -448 352 -528 352
WIRE 112 352 16 352
WIRE 192 352 112 352
WIRE -336 384 -336 272
WIRE -336 384 -400 384
WIRE -96 384 -96 272
WIRE -32 384 -96 384
WIRE 352 416 352 224
WIRE 480 416 352 416
WIRE 624 416 480 416
WIRE -768 464 -768 288
WIRE -400 512 -400 432
WIRE -224 512 -400 512
WIRE -32 544 -32 432
WIRE 160 544 -32 544
WIRE 224 544 160 544
WIRE 352 544 352 416
WIRE 352 544 288 544
WIRE 624 544 624 416
WIRE -1056 592 -1056 64
WIRE -400 608 -400 512
WIRE -32 608 -32 544
WIRE 352 624 352 544
WIRE -400 656 -464 656
WIRE 32 656 -32 656
WIRE 416 672 352 672
WIRE -224 688 -224 512
WIRE -224 688 -352 688
WIRE -80 688 -224 688
WIRE 160 704 160 544
WIRE 304 704 160 704
WIRE -1056 800 -1056 672
WIRE -768 800 -768 544
WIRE -768 800 -1056 800
WIRE -464 800 -464 656
WIRE -464 800 -768 800
WIRE -400 800 -400 704
WIRE -400 800 -464 800
WIRE -32 800 -32 704
WIRE -32 800 -400 800
WIRE 32 800 32 656
WIRE 32 800 -32 800
WIRE 352 800 352 720
WIRE 352 800 32 800
WIRE 416 800 416 672
WIRE 416 800 352 800
WIRE 624 800 624 608
WIRE 624 800 416 800
WIRE -1056 832 -1056 800
FLAG 1072 -480 0
FLAG 704 -768 vid1
FLAG 704 -624 vid2
FLAG 1024 -720 vcm
FLAG -1072 -64 0
FLAG 96 -544 Vid1
FLAG -544 -544 Vid2
FLAG 464 -480 vout_ol
FLAG -1056 832 0
FLAG 112 352 Vid1
FLAG -528 352 Vid2
FLAG 480 416 vout2_ol
SYMBOL voltage 1072 -624 R0
SYMATTR Value2 AC 0
SYMATTR InstName VCM
SYMATTR Value 1.5
SYMBOL voltage 768 -768 R270
SYMATTR Value2 AC 0.5
SYMATTR InstName Vid1
SYMATTR Value 0
SYMBOL voltage 768 -624 R270
SYMATTR Value2 AC -0.5
SYMATTR InstName Vid2
SYMATTR Value 0
SYMBOL voltage -1072 -320 R0
SYMATTR InstName VDD2
SYMATTR Value 3.3
SYMBOL cap 592 -352 R0
SYMATTR InstName CL2
SYMATTR Value 1p
SYMBOL pmos4 -464 -464 M180
SYMATTR Value2 l=0.35u w=10u
SYMATTR InstName M17
SYMATTR Value PMOS-SH
SYMBOL pmos4 0 -464 R180
SYMATTR Value2 l=0.35u w=10u
SYMATTR InstName M18
SYMATTR Value PMOS-SH
SYMBOL pmos4 -288 -688 M180
SYMATTR Value2 l=0.35u w=20u
SYMATTR InstName M19
SYMATTR Value PMOS-SH
SYMBOL nmos4 -368 -288 M0
SYMATTR Value2 l=0.35u w=10u
SYMATTR InstName M20
SYMATTR Value NMOS-SH
SYMBOL nmos4 -96 -288 R0
SYMATTR Value2 l=0.35u w=10u
SYMATTR InstName M21
SYMATTR Value NMOS-SH
SYMBOL nmos4 288 -272 R0
SYMATTR Value2 l=0.35u w=50u
SYMATTR InstName M22
SYMATTR Value NMOS-SH
SYMBOL pmos4 288 -672 M180
SYMATTR Value2 l=0.35u w=50u
SYMATTR InstName M23
SYMATTR Value PMOS-SH
SYMBOL pmos4 -736 -688 R180
SYMATTR Value2 l=0.35u w=10u
SYMATTR InstName M24
SYMATTR Value PMOS-SH
SYMBOL cap 208 -336 R270
SYMATTR InstName Cc2
SYMATTR Value 0.2p
SYMBOL res -800 -448 R0
SYMATTR InstName R7
SYMATTR Value 100k
SYMBOL voltage -1056 576 R0
SYMATTR InstName VDD3
SYMATTR Value 3.3
SYMBOL cap 608 544 R0
SYMATTR InstName CL3
SYMATTR Value 1p
SYMBOL pmos4 -448 432 M180
SYMATTR Value2 l=1.05u w=30u
SYMATTR InstName M25
SYMATTR Value PMOS-SH2
SYMBOL pmos4 16 432 R180
SYMATTR Value2 l=1.05u w=30u
SYMATTR InstName M26
SYMATTR Value PMOS-SH2
SYMBOL pmos4 -272 208 M180
SYMATTR Value2 l=1.05u w=60u
SYMATTR InstName M27
SYMATTR Value PMOS-SH2
SYMBOL nmos4 -352 608 M0
SYMATTR Value2 l=1.05u w=30u
SYMATTR InstName M28
SYMATTR Value NMOS-SH2
SYMBOL nmos4 -80 608 R0
SYMATTR Value2 l=1.05u w=30u
SYMATTR InstName M29
SYMATTR Value NMOS-SH2
SYMBOL nmos4 304 624 R0
SYMATTR Value2 l=1.05u w=150u
SYMATTR InstName M30
SYMATTR Value NMOS-SH2
SYMBOL pmos4 304 224 M180
SYMATTR Value2 l=1.05u w=150u
SYMATTR InstName M31
SYMATTR Value PMOS-SH2
SYMBOL pmos4 -720 208 R180
SYMATTR Value2 l=1.05u w=30u
SYMATTR InstName M32
SYMATTR Value PMOS-SH2
SYMBOL cap 224 560 R270
SYMATTR InstName Cc3
SYMATTR Value 0.2p
SYMBOL res -784 448 R0
SYMATTR InstName R8
SYMATTR Value 100k