* SPICE netlist
M1 N001 vin1 N002 0 NMOS l=0.36u w=10u m=2
M2 N001 N001 vdd vdd PMOS l=0.36u w=10u m=4
M3 vout2 vin2 N002 0 NMOS l=0.36u w=10u m=2
C2 vout2 0 0.29p
M4 vout2 N001 vdd vdd PMOS l=0.36u w=10u m=4
vgs1 N003 0 1
vin1 vin1 N003 SINE(0 50m 100meg) AC 1
vin2 N003 vin2 SINE(0 50m 100meg) AC 1
vdd1 vdd 0 1.8
V1 vb 0 1.11
M6 N004 N004 0 0 NMOS l=0.36u w=10u
M7 N004 N004 vdd vdd PMOS l=0.36u w=2u
M5 N002 N004 0 0 NMOS l=0.36u w=10u m=5
.include tsmc180.txt
.op
.ac dec 10 10k 3Gig
;tf V(vout2) (vin1,vin2)

* LTspice schematic (.asc)
Version 4
SHEET 1 1360 1008
WIRE -568 -424 -568 -488
WIRE -456 -424 -456 -504
WIRE 56 -328 -40 -328
WIRE 216 -328 216 -344
WIRE 216 -328 56 -328
WIRE 376 -328 216 -328
WIRE 472 -328 376 -328
WIRE 56 -312 56 -328
WIRE 376 -312 376 -328
WIRE 152 -296 104 -296
WIRE 328 -296 152 -296
WIRE -648 -280 -648 -488
WIRE -568 -280 -568 -344
WIRE -456 -280 -456 -344
WIRE -40 -264 -40 -328
WIRE 56 -264 -40 -264
WIRE 472 -264 472 -328
WIRE 472 -264 376 -264
WIRE 56 -200 56 -216
WIRE 152 -200 152 -296
WIRE 152 -200 56 -200
WIRE 376 -136 376 -216
WIRE 632 -136 376 -136
WIRE 680 -136 632 -136
WIRE 56 -120 56 -200
WIRE 376 -120 376 -136
WIRE 56 -72 -56 -72
WIRE 488 -72 376 -72
WIRE 632 -72 632 -136
WIRE -680 -56 -680 -120
WIRE -472 -56 -472 -120
WIRE 632 -56 632 -72
WIRE 632 -8 632 -24
WIRE 632 40 632 -8
WIRE 56 56 56 -24
WIRE 184 56 56 56
WIRE 376 56 376 -24
WIRE 376 56 184 56
WIRE -680 88 -680 24
WIRE -584 88 -680 88
WIRE -472 88 -472 24
WIRE -472 88 -584 88
WIRE -584 120 -584 88
WIRE -40 200 -40 168
WIRE -8 200 -40 200
WIRE -88 216 -120 216
WIRE -8 248 -8 200
WIRE -8 248 -40 248
WIRE -584 264 -584 200
WIRE -120 312 -120 216
WIRE -40 312 -40 296
WIRE -40 312 -120 312
WIRE -40 344 -40 312
WIRE 40 344 -40 344
WIRE -40 360 -40 344
WIRE 184 360 184 56
WIRE -40 408 -88 408
WIRE 248 408 184 408
WIRE 40 440 40 344
WIRE 40 440 8 440
WIRE 136 440 40 440
WIRE -88 456 -88 408
WIRE -40 456 -88 456
WIRE 184 488 184 456
WIRE 248 488 248 408
WIRE 248 488 184 488
WIRE -40 504 -40 456
WIRE 184 504 184 488
FLAG -56 -72 vss
FLAG 328 -40 vin2
IOPIN 848 544 In
FLAG 216 -344 vdd
FLAG 488 -72 vss
FLAG 104 -40 vin1
IOPIN 624 544 In
FLAG 680 -136 vout2
IOPIN 1200 448 Out
FLAG 632 40 0
FLAG -584 264 0
FLAG -568 -280 0
FLAG -648 -280 0
FLAG -648 -488 vss
FLAG -568 -488 vdd
FLAG -456 -280 0
FLAG -456 -504 vb
FLAG -680 -120 vin1
IOPIN -160 464 In
FLAG -472 -120 vin2
IOPIN 48 464 In
FLAG 184 504 0
FLAG -40 504 0
FLAG -40 168 vdd
DATAFLAG 704 672 ""
DATAFLAG 704 672 ""
DATAFLAG 1152 448 ""
DATAFLAG 480 928 ""
DATAFLAG 480 928 ""
DATAFLAG 576 416 ""
DATAFLAG 576 416 ""
SYMBOL nmos4 104 -120 M0
SYMATTR Value2 l=0.36u w=10u m=2
SYMATTR InstName M1
SYMBOL pmos4 104 -216 R180
SYMATTR Value2 l=0.36u w=10u m=4
SYMATTR InstName M2
SYMBOL nmos4 328 -120 R0
SYMATTR Value2 l=0.36u w=10u m=2
SYMATTR InstName M3
SYMBOL cap 648 -72 M0
SYMATTR InstName C2
SYMATTR Value 0.29p
SYMBOL pmos4 328 -216 M180
SYMATTR Value2 l=0.36u w=10u m=4
SYMATTR InstName M4
SYMBOL voltage -584 104 R0
SYMATTR InstName vgs1
SYMATTR Value 1
SYMBOL voltage -680 -72 R0
SYMATTR Value SINE(0 50m 100meg)
SYMATTR Value2 AC 1
SYMATTR InstName vin1
SYMBOL voltage -472 40 R180
SYMATTR InstName vin2
SYMATTR Value SINE(0 50m 100meg)
SYMATTR Value2 AC 1
SYMBOL voltage -568 -440 R0
SYMATTR InstName vdd1
SYMATTR Value 1.8
SYMBOL voltage -456 -440 R0
SYMATTR InstName V1
SYMATTR Value 1.11
SYMBOL nmos4 8 360 M0
SYMATTR Value2 l=0.36u w=10u
SYMATTR InstName M6
SYMBOL pmos4 -88 296 M180
SYMATTR Value2 l=0.36u w=2u
SYMATTR InstName M7
SYMBOL nmos4 136 360 R0
SYMATTR Value2 l=0.36u w=10u m=5
SYMATTR InstName M5