* SPICE netlist
XM1 N002 N006 N007 NMOS_SSM6K405TU ;pnba D)G)S
V1 N009 0 PULSE(0 1 0.1 1f 1f 10)
R1 A 0 2
R2 N003 N009 10K
V2 N002 0 12
R3 N006 N005 220
R4 B N004 10k
C1 N005 N004 100p
V3 B A AC 0.1
V4 N001 0 3.3
XU1 N003 N004 N001 0 N005 AD8691 ;pnba In+)In-)V+)V-)OUT
R5 N008 A 0.2
R6 N007 N008 0.02
R7 N010 0 100
C2 N010 N007 1f
.SUBCKT NMOS_SSM6K405TU 1 2 3
M0 1 22 3 3 SSM6K405TU_MOS
+ L = 5E-006
+ W = 0.1146
+ AD = 1.146E-007
+ AS = 1.146E-007
+ PD = 0.2292
+ PS = 0.2292
D0 3 1 SSM6K405TU_DDS1
D1 3 1 SSM6K405TU_DDS2
D2 22 10 SSM6K405TU_DGS1
D3 3 10 SSM6K405TU_DGS2
R1 10 3 1E+009
R2 10 22 1E+009
RG 2 22 12
+ LEVEL = 7
+ MOBMOD = 1
+ CAPMOD = 3
+ NOIMOD = 1
+ TOX = 1.5E-008
+ XJ = 1.5E-007
+ NCH = 1.7E+017
+ NGATE = 0
+ RSH = 0
+ TNOM = 25
+ VTH0 = 0.8625
+ VOFF = -0.08
+ NFACTOR = 1.337
+ U0 = 3064
+ K1 = 0.5
+ K2 = 0
+ K3 = 80
+ K3B = 0
+ W0 = 2.5E-006
+ NLX = 1.74E-007
+ DVT0 = 2.2
+ DVT1 = 0.53
+ DVT2 = -0.032
+ DVT0W = 0
+ DVT1W = 5.3E+006
+ DVT2W = -0.032
+ DWG = 0
+ DWB = 0
+ UA = 1.498E-009
+ UB = 5.87E-019
+ UC = -4.56E-011
+ VSAT = 1.341E+005
+ A0 = 0.3335
+ AGS = 0.5552
+ B0 = 0
+ B1 = 0
+ KETA = -0.047
+ A1 = 0
+ A2 = 1
+ DELTA = 0.01923
+ RDSW = 6834
+ PRWG = 0
+ PRWB = 0
+ WR = 1
+ CDSC = 0.00024
+ CDSCD = 0
+ CDSCB = 0
+ CIT = 0
+ ETA0 = 0.08
+ ETAB = -0.07
+ DSUB = 0.56
+ PCLM = 1.3
+ PDIBLC1 = 0.39
+ PDIBLC2 = 0.001
+ PDIBLCB = 0
+ DROUT = 0.56
+ PSCBE1 = 4.24E+008
+ PSCBE2 = 1E-012
+ PVAG = 0
+ ALPHA0 = 0
+ ALPHA1 = 0
+ BETA0 = 30
+ NJ = 1
+ JS = 0
+ XPART = 0
+ CGSO = 8.247E-009
+ CGDO = 1E-011
+ CGBO = 0
+ CGDL = 3.082E-008
+ CGSL = 5.408E-011
+ CKAPPA = 0.4188
+ CF = 1E-012
+ CLC = 1E-007
+ CLE = 0.6
+ VOFFCV = 0
+ NOFF = 1
+ DLC = 0
+ ACDE = 1
+ MOIN = 15
+ CJ = 1E-012
+ CJSW = 1E-012
+ CJSWG = 1E-012
+ PB = 1
+ PBSW = 1
+ PBSWG = 1
+ MJ = 0.5
+ MJSW = 0.33
+ MJSWG = 0.33
+ AF = 1
+ EF = 1
+ KF = 0
+ UTE = -2.5
+ KT1 = -0.55
+ KT1L = 0
+ KT2 = 0.022
+ UA1 = 1E-009
+ UB1 = -7.61E-018
+ UC1 = -5.6E-011
+ AT = 3.3E+004
+ PRT = 5000
+ XTI = 3
+ TCJ = 0
+ TPB = 0
+ TCJSW = 0
+ TPBSW = 0
+ TCJSWG = 0
+ TPBSWG = 0
+ DWC = 0.05)
+ TNOM = 25
+ IS = 2.1E-012
+ RS = 0.07428
+ N = 1.16
+ CJO = 1.615E-011
+ VJ = 0.5479
+ M = 0.563
+ BV = 20
+ XTI = 5)
+ TNOM = 25
+ IS = 2.1E-012
+ RS = 0.07428
+ N = 1.16
+ CJO = 1.615E-011
+ VJ = 0.5479
+ M = 0.563
+ XTI = 5)
+ TNOM = 25
+ IS = 1E-014)
+ TNOM = 25
+ IS = 1E-014)
.ac dec 50 10 10MEG

* LTspice schematic (.asc)
Version 4
SHEET 1 1968 640
WIRE -408 -320 -984 -320
WIRE 984 -256 40 -256
WIRE 40 -192 40 -256
WIRE -616 -144 -808 -144
WIRE -408 -144 -408 -320
WIRE -440 -128 -488 -128
WIRE -200 -112 -376 -112
WIRE -120 -112 -200 -112
WIRE -8 -112 -40 -112
WIRE -616 -96 -616 -144
WIRE -440 -96 -616 -96
WIRE 40 -80 40 -96
WIRE 168 -80 40 -80
WIRE 40 -64 40 -80
WIRE 40 48 40 16
WIRE -808 96 -808 -144
WIRE 984 112 984 -256
WIRE 40 144 40 128
WIRE 40 144 -40 144
WIRE -488 160 -488 -128
WIRE -328 160 -488 160
WIRE -296 160 -328 160
WIRE -200 160 -200 -112
WIRE -200 160 -232 160
WIRE 40 176 40 144
WIRE -984 192 -984 -320
WIRE -808 192 -808 176
WIRE 168 192 168 -80
WIRE 440 192 168 192
WIRE 568 192 504 192
WIRE -328 240 -328 160
WIRE -296 240 -328 240
WIRE -184 240 -216 240
WIRE -168 240 -184 240
WIRE -56 240 -88 240
WIRE -40 240 -40 144
WIRE -40 240 -56 240
WIRE -984 304 -984 272
WIRE -808 304 -808 272
WIRE -808 304 -984 304
WIRE -408 304 -408 -80
WIRE -408 304 -808 304
WIRE -56 304 -408 304
WIRE 40 304 40 256
WIRE 40 304 -56 304
WIRE 568 304 568 272
WIRE 568 304 40 304
WIRE 984 304 984 192
WIRE 984 304 568 304
WIRE -56 320 -56 304
FLAG -56 320 0
FLAG -184 240 B
FLAG -56 240 A
SYMBOL nmos -8 -192 R0
SYMATTR InstName M1
SYMATTR Value NMOS_SSM6K405TU
SYMATTR Prefix X
SYMBOL voltage -808 176 R0
SYMATTR InstName V1
SYMATTR Value PULSE(0 1 0.1 1f 1f 10)
SYMBOL res 24 160 R0
SYMATTR InstName R1
SYMATTR Value 2
SYMBOL res -824 80 R0
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL voltage 984 96 R0
SYMATTR InstName V2
SYMATTR Value 12
SYMBOL res -24 -128 R90
SYMATTR InstName R3
SYMATTR Value 220
SYMBOL res -200 224 R90
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL cap -232 144 R90
SYMATTR InstName C1
SYMATTR Value 100p
SYMBOL voltage -184 240 R270
SYMATTR InstName V3
SYMATTR Value ""
SYMATTR Value2 AC 0.1
SYMBOL voltage -984 176 R0
SYMATTR InstName V4
SYMATTR Value 3.3
SYMBOL OpAmps/AD8691 -408 -176 R0
SYMATTR InstName U1
SYMBOL res 24 32 R0
SYMATTR InstName R5
SYMATTR Value 0.2
SYMBOL res 24 -80 R0
SYMATTR InstName R6
SYMATTR Value 0.02
SYMBOL res 552 176 R0
SYMATTR InstName R7
SYMATTR Value 100
SYMBOL cap 504 176 R90
SYMATTR InstName C2
SYMATTR Value 1f