* SPICE netlist
Md1 vgatep N001 vs vs NMOS-SH l=1u w=10u
VSS 0 -VSS 1.5
Md2 vincs 0 vs vs NMOS-SH l=1u w=10u
Mtail vs vgatebias -VSS -VSS NMOS-SH l=1u w=10u
Mp2 vincs vgatep VDD VDD PMOS-SH l=1u w=10u
Mp1 vgatep vgatep VDD VDD PMOS-SH l=1u w=10u
Mbias vgatebias vgatebias -VSS -VSS NMOS-SH l=1u w=10u
R1 VDD vgatebias 20k
VDD VDD 0 1.5
VCM vin 0 SINE(0 100m 1k 0) AC 1
C1 vout 0 0.5p
R2 vout N001 10Meg
R3 N001 vin 2.5Meg
C2 vout 0 0.5p
Mp3 vout vincs VDD VDD PMOS-SH l=1u w=10u
Mtail1 vout vgatebias -VSS -VSS NMOS-SH l=1u w=10u
;dc Vid1 -100m 100m 10u
;op
;.ac oct 100 10 1000MEG
.tran 10m

* LTspice schematic (.asc)
Version 4
SHEET 1 2064 800
WIRE -680 -400 -904 -400
WIRE -456 -400 -680 -400
WIRE -376 -400 -456 -400
WIRE -264 -400 -376 -400
WIRE -24 -400 -264 -400
WIRE 40 -400 -24 -400
WIRE 248 -400 40 -400
WIRE 296 -400 248 -400
WIRE -376 -336 -376 -400
WIRE -24 -336 -24 -400
WIRE -216 -320 -328 -320
WIRE -184 -320 -216 -320
WIRE -72 -320 -184 -320
WIRE -456 -288 -456 -400
WIRE -376 -288 -456 -288
WIRE 40 -288 40 -400
WIRE 40 -288 -24 -288
WIRE -904 -256 -904 -400
WIRE 248 -256 248 -400
WIRE 520 -256 440 -256
WIRE 584 -256 520 -256
WIRE 712 -256 664 -256
WIRE 776 -256 712 -256
WIRE 968 -256 856 -256
WIRE 1032 -256 968 -256
WIRE 200 -240 152 -240
WIRE -680 -208 -680 -400
WIRE 296 -208 296 -400
WIRE 296 -208 248 -208
WIRE -24 -176 -24 -240
WIRE 120 -176 -24 -176
WIRE 152 -176 152 -240
WIRE 152 -176 120 -176
WIRE -376 -160 -376 -240
WIRE -216 -160 -216 -320
WIRE -216 -160 -376 -160
WIRE 520 -144 520 -256
WIRE 1032 -144 1032 -256
WIRE -376 -112 -376 -160
WIRE -24 -112 -24 -176
WIRE -904 -80 -904 -176
WIRE -904 -80 -1032 -80
WIRE -296 -64 -376 -64
WIRE -24 -64 -88 -64
WIRE 248 -48 248 -160
WIRE 344 -48 248 -48
WIRE 440 -48 440 -256
WIRE 440 -48 344 -48
WIRE 520 -48 520 -80
WIRE -424 -32 -520 -32
WIRE 104 -32 24 -32
WIRE 440 -32 440 -48
WIRE 1032 -16 1032 -64
WIRE -1032 0 -1032 -80
WIRE 104 0 104 -32
WIRE -376 48 -376 -16
WIRE -296 48 -296 -64
WIRE -296 48 -376 48
WIRE -216 48 -296 48
WIRE -184 48 -216 48
WIRE -88 48 -88 -64
WIRE -88 48 -184 48
WIRE -24 48 -24 -16
WIRE -24 48 -88 48
WIRE -680 64 -680 -128
WIRE -616 64 -680 64
WIRE -568 64 -616 64
WIRE 440 64 440 32
WIRE -904 96 -904 -80
WIRE -680 96 -680 64
WIRE -216 96 -216 48
WIRE 248 96 248 -48
WIRE -680 144 -760 144
WIRE -152 144 -216 144
WIRE 296 144 248 144
WIRE -568 176 -568 64
WIRE -568 176 -632 176
WIRE -328 176 -568 176
WIRE -264 176 -328 176
WIRE 200 176 24 176
WIRE -328 240 -328 176
WIRE 24 240 24 176
WIRE 24 240 -328 240
WIRE -904 288 -904 176
WIRE -760 288 -760 144
WIRE -760 288 -904 288
WIRE -680 288 -680 192
WIRE -680 288 -760 288
WIRE -360 288 -680 288
WIRE -216 288 -216 192
WIRE -216 288 -360 288
WIRE -152 288 -152 144
WIRE -152 288 -216 288
WIRE 248 288 248 192
WIRE 248 288 -152 288
WIRE 296 288 296 144
WIRE 296 288 248 288
WIRE -520 400 -520 -32
WIRE 712 400 712 -256
WIRE 712 400 -520 400
FLAG -1032 0 0
FLAG 1032 -16 0
FLAG 520 -48 0
FLAG -184 48 vs
FLAG -616 64 vgatebias
FLAG -184 -320 vgatep
FLAG -264 -400 VDD
FLAG -360 288 -VSS
FLAG 440 64 0
FLAG 104 0 0
FLAG 344 -48 vout
FLAG 120 -176 vincs
FLAG 968 -256 vin
SYMBOL nmos4 -424 -112 R0
SYMATTR Value2 l=1u w=10u
SYMATTR InstName Md1
SYMATTR Value NMOS-SH
SYMBOL voltage -904 80 R0
SYMATTR InstName VSS
SYMATTR Value 1.5
SYMBOL nmos4 24 -112 M0
SYMATTR Value2 l=1u w=10u
SYMATTR InstName Md2
SYMATTR Value NMOS-SH
SYMBOL nmos4 -264 96 R0
SYMATTR Value2 l=1u w=10u
SYMATTR InstName Mtail
SYMATTR Value NMOS-SH
SYMBOL pmos4 -72 -240 M180
SYMATTR Value2 l=1u w=10u
SYMATTR InstName Mp2
SYMATTR Value PMOS-SH
SYMBOL pmos4 -328 -240 R180
SYMATTR Value2 l=1u w=10u
SYMATTR InstName Mp1
SYMATTR Value PMOS-SH
SYMBOL nmos4 -632 96 M0
SYMATTR Value2 l=1u w=10u
SYMATTR InstName Mbias
SYMATTR Value NMOS-SH
SYMBOL res -696 -224 R0
SYMATTR InstName R1
SYMATTR Value 20k
SYMBOL voltage -904 -272 R0
SYMATTR InstName VDD
SYMATTR Value 1.5
SYMBOL voltage 1032 -160 R0
SYMATTR Value2 AC 1
SYMATTR InstName VCM
SYMATTR Value SINE(0 100m 1k 0)
SYMBOL cap 504 -144 R0
SYMATTR InstName C1
SYMATTR Value 0.5p
SYMBOL res 568 -240 R270
SYMATTR InstName R2
SYMATTR Value 10Meg
SYMBOL res 760 -240 R270
SYMATTR InstName R3
SYMATTR Value 2.5Meg
SYMBOL cap 424 -32 R0
SYMATTR InstName C2
SYMATTR Value 0.5p
SYMBOL pmos4 200 -160 M180
SYMATTR Value2 l=1u w=10u
SYMATTR InstName Mp3
SYMATTR Value PMOS-SH
SYMBOL nmos4 200 96 R0
SYMATTR Value2 l=1u w=10u
SYMATTR InstName Mtail1
SYMATTR Value NMOS-SH