* SPICE netlist
Md1 vgatep vid1 vs vs NMOS-SH l=1u w=10u
VSS 0 -VSS 1.5
Md2 vincs vid2 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 vcm 0 0 AC 0
Vid1 vid1 vcm 6.2m AC 0.5
Vid2 vid2 vcm 0 AC -0.5
C1 vout 0 0.5p
Mp3 vout vincs VDD VDD PMOS-SH l=1u w=100u
Mtail1 vout vgatebias -VSS -VSS NMOS-SH l=1u w=10u
Cmiller vincs vout 2p
;.dc Vid1 -100m 100m 10u
.op
.ac oct 100 10 10000MEG
;.tran 2m

* LTspice schematic (.asc)
Version 4
SHEET 1 2192 736
WIRE -744 -368 -968 -368
WIRE -520 -368 -744 -368
WIRE -440 -368 -520 -368
WIRE -328 -368 -440 -368
WIRE -88 -368 -328 -368
WIRE -24 -368 -88 -368
WIRE 264 -368 -24 -368
WIRE 312 -368 264 -368
WIRE -440 -304 -440 -368
WIRE -88 -304 -88 -368
WIRE -280 -288 -392 -288
WIRE -248 -288 -280 -288
WIRE -136 -288 -248 -288
WIRE -520 -256 -520 -368
WIRE -440 -256 -520 -256
WIRE -24 -256 -24 -368
WIRE -24 -256 -88 -256
WIRE -968 -224 -968 -368
WIRE 264 -224 264 -368
WIRE 216 -208 120 -208
WIRE -744 -176 -744 -368
WIRE 312 -176 312 -368
WIRE 312 -176 264 -176
WIRE 120 -160 120 -208
WIRE -88 -144 -88 -208
WIRE 120 -144 120 -160
WIRE 120 -144 -88 -144
WIRE -440 -128 -440 -208
WIRE -280 -128 -280 -288
WIRE -280 -128 -440 -128
WIRE 120 -96 120 -144
WIRE -440 -80 -440 -128
WIRE -88 -80 -88 -144
WIRE -968 -48 -968 -144
WIRE -968 -48 -1096 -48
WIRE -360 -32 -440 -32
WIRE -88 -32 -152 -32
WIRE 264 -16 264 -128
WIRE 392 -16 264 -16
WIRE 456 -16 392 -16
WIRE -536 0 -584 0
WIRE -488 0 -536 0
WIRE 8 0 -40 0
WIRE 56 0 8 0
WIRE 456 0 456 -16
WIRE 120 16 120 -32
WIRE 264 16 264 -16
WIRE 264 16 120 16
WIRE -1096 32 -1096 -48
WIRE -440 80 -440 16
WIRE -360 80 -360 -32
WIRE -360 80 -440 80
WIRE -280 80 -360 80
WIRE -248 80 -280 80
WIRE -152 80 -152 -32
WIRE -152 80 -248 80
WIRE -88 80 -88 16
WIRE -88 80 -152 80
WIRE 728 80 664 80
WIRE 808 80 728 80
WIRE 984 80 888 80
WIRE -744 96 -744 -96
WIRE -680 96 -744 96
WIRE -632 96 -680 96
WIRE 456 96 456 64
WIRE -968 128 -968 -48
WIRE -744 128 -744 96
WIRE -280 128 -280 80
WIRE 264 128 264 16
WIRE 984 128 984 80
WIRE 1048 128 984 128
WIRE 1096 128 1048 128
WIRE -744 176 -824 176
WIRE -216 176 -280 176
WIRE 312 176 264 176
WIRE -632 208 -632 96
WIRE -632 208 -696 208
WIRE -392 208 -632 208
WIRE -328 208 -392 208
WIRE 216 208 -104 208
WIRE 728 224 664 224
WIRE 808 224 728 224
WIRE 984 224 984 128
WIRE 984 224 888 224
WIRE 1096 240 1096 128
WIRE -392 272 -392 208
WIRE -104 272 -104 208
WIRE -104 272 -392 272
WIRE -968 320 -968 208
WIRE -824 320 -824 176
WIRE -824 320 -968 320
WIRE -744 320 -744 224
WIRE -744 320 -824 320
WIRE -424 320 -744 320
WIRE -280 320 -280 224
WIRE -280 320 -424 320
WIRE -216 320 -216 176
WIRE -216 320 -280 320
WIRE 264 320 264 224
WIRE 264 320 -216 320
WIRE 312 320 312 176
WIRE 312 320 264 320
WIRE 1096 368 1096 320
FLAG -1096 32 0
FLAG 1096 368 0
FLAG -536 0 vid1
FLAG 8 0 vid2
FLAG 728 80 vid1
FLAG 728 224 vid2
FLAG 1048 128 vcm
FLAG 456 96 0
FLAG -248 80 vs
FLAG -680 96 vgatebias
FLAG -248 -288 vgatep
FLAG -328 -368 VDD
FLAG -424 320 -VSS
FLAG 392 -16 vout
FLAG 120 -160 vincs
DATAFLAG 64 288 ""
DATAFLAG -304 160 ""
DATAFLAG -640 176 ""
SYMBOL nmos4 -488 -80 R0
SYMATTR Value2 l=1u w=10u
SYMATTR InstName Md1
SYMATTR Value NMOS-SH
SYMBOL voltage -968 112 R0
SYMATTR InstName VSS
SYMATTR Value 1.5
SYMBOL nmos4 -40 -80 M0
SYMATTR Value2 l=1u w=10u
SYMATTR InstName Md2
SYMATTR Value NMOS-SH
SYMBOL nmos4 -328 128 R0
SYMATTR Value2 l=1u w=10u
SYMATTR InstName Mtail
SYMATTR Value NMOS-SH
SYMBOL pmos4 -136 -208 M180
SYMATTR Value2 l=1u w=10u
SYMATTR InstName Mp2
SYMATTR Value PMOS-SH
SYMBOL pmos4 -392 -208 R180
SYMATTR Value2 l=1u w=10u
SYMATTR InstName Mp1
SYMATTR Value PMOS-SH
SYMBOL nmos4 -696 128 M0
SYMATTR Value2 l=1u w=10u
SYMATTR InstName Mbias
SYMATTR Value NMOS-SH
SYMBOL res -760 -192 R0
SYMATTR InstName R1
SYMATTR Value 20k
SYMBOL voltage -968 -240 R0
SYMATTR InstName VDD
SYMATTR Value 1.5
SYMBOL voltage 1096 224 R0
SYMATTR Value2 AC 0
SYMATTR InstName VCM
SYMATTR Value 0
SYMBOL voltage 792 80 R270
SYMATTR Value2 AC 0.5
SYMATTR Value 6.2m
SYMATTR InstName Vid1
SYMBOL voltage 792 224 R270
SYMATTR Value2 AC -0.5
SYMATTR InstName Vid2
SYMATTR Value 0
SYMBOL cap 440 0 R0
SYMATTR InstName C1
SYMATTR Value 0.5p
SYMBOL pmos4 216 -128 M180
SYMATTR Value2 l=1u w=100u
SYMATTR InstName Mp3
SYMATTR Value PMOS-SH
SYMBOL nmos4 216 128 R0
SYMATTR Value2 l=1u w=10u
SYMATTR InstName Mtail1
SYMATTR Value NMOS-SH
SYMBOL cap 104 -96 R0
SYMATTR InstName Cmiller
SYMATTR Value 2p