* SPICE netlist
Vd ds 0 0.5V
BId ds R0 I=if (V(gs)-V(T)>V(ds), Km*(2*(V(gs)-V(T))-V(ds))*V(ds), (if ( V(gs)>V(T), Km*(V(gs)-V(T))*(V(gs)-V(T)), 0)))
C1 gs M {c1}
C2 M 0 {c2}
Dp N008 gs DiodeNRD
Rs N008 N007 400Meg
Rr gs M 29Meg
RM M 0 300Meg
BVT T 0 V=VT0*(1-f*abs(V(M))/{VT0})
Dp1 gs N004 DiodeNRD
Rs1 N004 N003 600Meg
VA1 VA1 0 PULSE(0 {V} 100 0.03 0.03 0.25 0.5 200)
R2 N007 0 1k
BRh2 N020 N007 V=abs(I(Rh2))*(0.75k*abs((V(VA1)-V(gs))/{V}))
BRh3 N003 N013 V=abs(I(Rh3))*(0.75k*abs((-V(VA1)+V(gs))/{abs(V)}))
Dp4 N013 VA1 DiodeNRD2
Dp5 VA1 N020 DiodeNRD2
R3 N003 0 1k
VA2 VA2 0 PULSE(0 {V} 200 0.03 0.03 0.25 0.5 200)
R4 N007 0 1k
BRh4 N021 N007 V=abs(I(Rh4))*(1k*abs((V(VA2)-V(gs))/{V}))
BRh5 N003 N014 V=abs(I(Rh5))*(1k*abs((-V(VA2)+V(gs))/{abs(V)}))
Dp6 N014 VA2 DiodeNRD2
Dp7 VA2 N021 DiodeNRD2
R5 N003 0 1k
VA3 VA3 0 PULSE(0 {V} 300 0.03 0.03 0.25 0.5 200)
R6 N007 0 1k
BRh6 N022 N007 V=abs(I(Rh6))*(1.25k*abs((V(VA3)-V(gs))/{V}))
BRh7 N003 N015 V=abs(I(Rh7))*(1.25k*abs((-V(VA3)+V(gs))/{abs(V)}))
Dp8 N015 VA3 DiodeNRD2
Dp9 VA3 N022 DiodeNRD2
R7 N003 0 1k
VA4 VA4 0 PULSE(0 {V} 0 0.03 0.03 0.25 0.5 200)
R1 N007 0 1k
BRh1 N019 N007 V=abs(I(Rh1))*(0.5k*abs((V(VA4)-V(gs))/{V}))
BRh8 N003 N012 V=abs(I(Rh8))*(0.5k*abs((-V(VA4)+V(gs))/{abs(V)}))
Dp2 N012 N011 DiodeNRD2
Dp3 N011 N019 DiodeNRD2
R8 N003 0 1k
S1 N011 VA4 gs 0 MYSW
VA5 VA5 0 PULSE(0 {V} 400 0.03 0.03 0.25 0.5 200)
R9 N007 0 1k
BRh9 N023 N007 V=abs(I(Rh9))*(1.5k*abs((V(VA5)-V(gs))/{V}))
BRh10 N003 N016 V=abs(I(Rh12))*(1.5k*abs((-V(VA5)+V(gs))/{abs(V)}))
Dp10 N016 VA5 DiodeNRD2
Dp11 VA5 N023 DiodeNRD2
R12 N003 0 1k
Vd1 ds1 0 0.5V
BId1 ds1 R10 I=if (V(gs1)-V(T1)>V(ds1), Km*(2*(V(gs1)-V(T1))-V(ds1))*V(ds1), (if ( V(gs1)>V(T1), Km*(V(gs1)-V(T1))*(V(gs1)-V(T1)), 0)))
C3 gs1 M1 {c1}
C4 M1 0 {c2}
Dp12 N027 gs1 DiodeNRD
Rs2 N027 N026 400Meg
Rr1 gs1 M1 29Meg
RM1 M1 0 300Meg
BVT1 T1 0 V=VT0*(1-f*abs(V(M1))/{VT0})
Dp13 gs1 N025 DiodeNRD
Rs3 N025 N024 600Meg
VA6 VA6 0 PULSE(0 {V1} 100 0.03 0.03 0.25 0.5 200)
R11 N026 0 1k
BRh11 N034 N026 V=abs(I(Rh11))*(0.75k*abs((V(VA6)-V(gs1))/{V1}))
BRh12 N024 N029 V=abs(I(Rh12))*(0.75k*abs((-V(VA6)+V(gs1))/{abs(V1)}))
Dp14 N029 VA6 DiodeNRD2
Dp15 VA6 N034 DiodeNRD2
R13 N024 0 1k
VA7 VA7 0 PULSE(0 {V1} 200 0.03 0.03 0.25 0.5 200)
R14 N026 0 1k
BRh13 N035 N026 V=abs(I(Rh13))*(1k*abs((V(VA7)-V(gs1))/{V1}))
BRh14 N024 N030 V=abs(I(Rh14))*(1k*abs((-V(VA7)+V(gs1))/{abs(V)}))
Dp16 N030 VA7 DiodeNRD2
Dp17 VA7 N035 DiodeNRD2
R15 N024 0 1k
VA8 VA8 0 PULSE(0 {V1} 300 0.03 0.03 0.25 0.5 200)
R16 N026 0 1k
BRh15 N036 N026 V=abs(I(Rh15))*(1.25k*abs((V(VA8)-V(gs1))/{V1}))
BRh16 N024 N031 V=abs(I(Rh16))*(1.25k*abs((-V(VA8)+V(gs1))/{abs(V)}))
Dp18 N031 VA8 DiodeNRD2
Dp19 VA8 N036 DiodeNRD2
R17 N024 0 1k
VA9 VA9 0 PULSE(0 {V1} 0 0.03 0.03 0.25 0.5 200)
R18 N026 0 1k
BRh17 N033 N026 V=abs(I(Rh17))*(0.5k*abs((V(VA9)-V(gs1))/{V1}))
BRh18 N024 N028 V=abs(I(Rh18))*(0.5k*abs((-V(VA9)+V(gs1))/{abs(V)}))
Dp20 N028 VA9 DiodeNRD2
Dp21 VA9 N033 DiodeNRD2
R19 N024 0 1k
VA10 VA10 0 PULSE(0 {V1} 400 0.03 0.03 0.25 0.5 200)
R20 N026 0 1k
BRh19 N037 N026 V=abs(I(Rh19))*(1.5k*abs((V(VA10)-V(gs1))/{V1}))
BRh20 N024 N032 V=abs(I(Rh20))*(1.5k*abs((-V(VA10)+V(gs1))/{abs(V)}))
Dp22 N032 VA10 DiodeNRD2
Dp23 VA10 N037 DiodeNRD2
R21 N024 0 1k
W2 N2 VA12 VId1 MCSW
Vd2 ds2 0 0.5V
BId2 ds2 R22 I=if (V(gs2)-V(T2)>V(ds2), Km*(2*(V(gs2)-V(T2))-V(ds2))*V(ds2), (if ( V(gs2)>V(T2), Km*(V(gs2)-V(T2))*(V(gs2)-V(T2)), 0)))
C5 gs2 M2 {c1}
C6 M2 0 {c2}
Dp24 N006 gs2 DiodeNRD
Rs4 N006 N005 400Meg
Rr2 gs2 M2 29Meg
RM2 M2 0 300Meg
BVT2 T2 0 V=VT0*(1-f*abs(V(M2))/{VT0})
Dp25 gs2 N002 DiodeNRD
Rs5 N002 N001 600Meg
VA11 VA11 0 PULSE(0 {Vr} 0 0.03 0.03 0.25 0.5 1000)
R23 N005 0 1k
BRh21 N017 N005 V=abs(I(Rh21))*(0.5k*abs((V(VA11)-V(gs2))/{Vr}))
BRh22 N001 N009 V=abs(I(Rh22))*(0.5k*abs((-V(VA11)+V(gs2))/{abs(Vr)}))
Dp26 N009 N1I DiodeNRD2
Dp27 N1I N017 DiodeNRD2
R24 N001 0 1k
VA12 VA12 0 PULSE(0 {V2} 0 0.03 0.03 0.25 0.5 1000)
R25 N005 0 1k
BRh23 N018 N005 V=abs(I(Rh23))*(1.25k*abs((V(VA12)-V(gs2))/{V}))
BRh24 N001 N010 V=abs(I(Rh24))*(1.25k*abs((-V(VA12)+V(gs2))/{abs(V)}))
Dp28 N010 N2 DiodeNRD2
Dp29 N2 N018 DiodeNRD2
R26 N001 0 1k
W1 N1I VA11 VId MCSW
R0 R0 0 1
R10 R10 0 1
W3 N3 VA13 VId2 MCSW
VA13 VA13 0 PULSE(0 {V2} 0 0.03 0.03 0.25 0.5 1000)
R22 R22 0 1
R27 N3 0 1Meg
W4 N1 VA14 VId MCSW
VA14 VA14 0 PULSE(0 {V2} 0 0.03 0.03 0.25 0.5 1000)
R28 N1 0 1Meg
;tran 0 600s 0
.param Vr=-3 V=9 V1=9 V2=9
.params W=50e-9 L=8e-6 d= 30e-9 mun=0.08 lambda=0.03
.param VT0=0.28V
.param cgsm=c1*c2/(c1+c2) Km=(1/2)*8*(W/L)*mun*cgsm/(L*L)
.param f=.1
.params c1=0.0000009u c2=.7u
VId R0 0
VId1 R10 0
VId2 R22 0

* LTspice schematic (.asc)
Version 4
SHEET 1 6048 3376
WIRE 2560 -1688 2240 -1688
WIRE -592 -1672 -912 -1672
WIRE 1712 -1656 1568 -1656
WIRE 1840 -1656 1792 -1656
WIRE 1936 -1656 1904 -1656
WIRE -1440 -1640 -1584 -1640
WIRE -1312 -1640 -1360 -1640
WIRE -1216 -1640 -1248 -1640
WIRE 1712 -1544 1424 -1544
WIRE 1840 -1544 1792 -1544
WIRE 1936 -1544 1936 -1656
WIRE 1936 -1544 1904 -1544
WIRE -1440 -1528 -1728 -1528
WIRE -1312 -1528 -1360 -1528
WIRE -1216 -1528 -1216 -1640
WIRE -1216 -1528 -1248 -1528
WIRE 2560 -1528 2560 -1688
WIRE -592 -1512 -592 -1672
WIRE -912 -1496 -912 -1672
WIRE 3024 -1496 2800 -1496
WIRE -96 -1480 -320 -1480
WIRE 1936 -1480 1936 -1544
WIRE 1936 -1480 1808 -1480
WIRE 2048 -1480 1936 -1480
WIRE 2240 -1480 2240 -1688
WIRE 2800 -1480 2800 -1496
WIRE -1216 -1464 -1216 -1528
WIRE -1216 -1464 -2992 -1464
WIRE -1104 -1464 -1216 -1464
WIRE -320 -1464 -320 -1480
WIRE 1936 -1448 1936 -1480
WIRE -1216 -1432 -1216 -1464
WIRE 2048 -1432 2048 -1480
WIRE 2240 -1432 2240 -1480
WIRE 2800 -1432 2800 -1480
WIRE -1104 -1416 -1104 -1464
WIRE -912 -1416 -912 -1496
WIRE -320 -1416 -320 -1464
WIRE 1936 -1416 1936 -1448
WIRE -1216 -1400 -1216 -1432
WIRE 3024 -1384 3024 -1496
WIRE -96 -1368 -96 -1480
WIRE 2240 -1320 2240 -1352
WIRE 2800 -1320 2800 -1352
WIRE -912 -1304 -912 -1336
WIRE -320 -1304 -320 -1336
WIRE 1936 -1304 1936 -1352
WIRE 2048 -1304 2048 -1352
WIRE 2048 -1304 1936 -1304
WIRE 2240 -1304 2240 -1320
WIRE -1216 -1288 -1216 -1336
WIRE -1104 -1288 -1104 -1336
WIRE -1104 -1288 -1216 -1288
WIRE 2800 -1288 2800 -1320
WIRE -912 -1272 -912 -1304
WIRE -320 -1272 -320 -1304
WIRE 1936 -1272 1936 -1304
WIRE 2048 -1272 1936 -1272
WIRE -1216 -1256 -1216 -1288
WIRE -1104 -1256 -1216 -1256
WIRE 2048 -1256 2048 -1272
WIRE -1104 -1240 -1104 -1256
WIRE 1728 -1240 1728 -1256
WIRE 1936 -1240 1936 -1272
WIRE -1424 -1224 -1424 -1240
WIRE -1216 -1224 -1216 -1256
WIRE 1936 -1160 1936 -1176
WIRE 1936 -1160 1728 -1160
WIRE 2048 -1160 2048 -1176
WIRE 2048 -1160 1936 -1160
WIRE 2240 -1160 2240 -1224
WIRE 2240 -1160 2048 -1160
WIRE 2368 -1160 2240 -1160
WIRE 2560 -1160 2560 -1448
WIRE 2560 -1160 2368 -1160
WIRE 2800 -1160 2800 -1208
WIRE 2800 -1160 2560 -1160
WIRE 3024 -1160 3024 -1304
WIRE 3024 -1160 2800 -1160
WIRE -1216 -1144 -1216 -1160
WIRE -1216 -1144 -1424 -1144
WIRE -1104 -1144 -1104 -1160
WIRE -1104 -1144 -1216 -1144
WIRE -912 -1144 -912 -1192
WIRE -912 -1144 -1104 -1144
WIRE -784 -1144 -912 -1144
WIRE -592 -1144 -592 -1432
WIRE -592 -1144 -784 -1144
WIRE -320 -1144 -320 -1192
WIRE -320 -1144 -592 -1144
WIRE -96 -1144 -96 -1288
WIRE -96 -1144 -320 -1144
WIRE 1568 -984 1568 -1656
WIRE 1760 -984 1568 -984
WIRE 2272 -984 1760 -984
WIRE -1584 -968 -1584 -1640
WIRE -1584 -968 -2288 -968
WIRE -1392 -968 -1584 -968
WIRE -880 -968 -1392 -968
WIRE -176 -968 -880 -968
WIRE 528 -968 -176 -968
WIRE 1424 -920 1424 -1544
WIRE 1680 -920 1424 -920
WIRE 2224 -920 1680 -920
WIRE -1728 -904 -1728 -1528
WIRE -1728 -904 -2064 -904
WIRE -1472 -904 -1728 -904
WIRE -928 -904 -1472 -904
WIRE -224 -904 -928 -904
WIRE 480 -904 -224 -904
WIRE 1344 -728 1312 -728
WIRE 1440 -728 1408 -728
WIRE 1616 -728 1520 -728
WIRE 1760 -728 1760 -984
WIRE 1760 -728 1616 -728
WIRE 2000 -728 1968 -728
WIRE 2096 -728 2064 -728
WIRE 2272 -728 2272 -984
WIRE 2272 -728 2176 -728
WIRE -2592 -712 -2928 -712
WIRE -2560 -712 -2592 -712
WIRE -2464 -712 -2496 -712
WIRE -2288 -712 -2288 -968
WIRE -2288 -712 -2384 -712
WIRE -1808 -712 -1840 -712
WIRE -1712 -712 -1744 -712
WIRE -1536 -712 -1632 -712
WIRE -1392 -712 -1392 -968
WIRE -1392 -712 -1536 -712
WIRE -1152 -712 -1184 -712
WIRE -1056 -712 -1088 -712
WIRE -880 -712 -880 -968
WIRE -880 -712 -976 -712
WIRE -448 -696 -480 -696
WIRE -352 -696 -384 -696
WIRE -176 -696 -176 -968
WIRE -176 -696 -272 -696
WIRE 256 -696 224 -696
WIRE 352 -696 320 -696
WIRE 528 -696 528 -968
WIRE 528 -696 432 -696
WIRE -2928 -680 -2928 -712
WIRE -2976 -664 -3024 -664
WIRE -2928 -664 -2928 -680
WIRE 1312 -664 1312 -728
WIRE 1968 -664 1968 -728
WIRE -2992 -616 -2992 -1464
WIRE -2976 -616 -2992 -616
WIRE 1312 -616 1312 -664
WIRE 1344 -616 1312 -616
WIRE 1440 -616 1408 -616
WIRE 1536 -616 1520 -616
WIRE 1680 -616 1680 -920
WIRE 1680 -616 1536 -616
WIRE 1968 -616 1968 -664
WIRE 2000 -616 1968 -616
WIRE 2096 -616 2064 -616
WIRE 2192 -616 2176 -616
WIRE 2224 -616 2224 -920
WIRE 2224 -616 2192 -616
WIRE -2928 -600 -2928 -616
WIRE -2592 -600 -2592 -712
WIRE -2560 -600 -2592 -600
WIRE -2464 -600 -2496 -600
WIRE -2368 -600 -2384 -600
WIRE -2064 -600 -2064 -904
WIRE -2064 -600 -2368 -600
WIRE -1840 -600 -1840 -712
WIRE -1808 -600 -1840 -600
WIRE -1712 -600 -1744 -600
WIRE -1616 -600 -1632 -600
WIRE -1472 -600 -1472 -904
WIRE -1472 -600 -1616 -600
WIRE -1184 -600 -1184 -712
WIRE -1152 -600 -1184 -600
WIRE -1056 -600 -1088 -600
WIRE -960 -600 -976 -600
WIRE -928 -600 -928 -904
WIRE -928 -600 -960 -600
WIRE -480 -584 -480 -696
WIRE -448 -584 -480 -584
WIRE -352 -584 -384 -584
WIRE -256 -584 -272 -584
WIRE -224 -584 -224 -904
WIRE -224 -584 -256 -584
WIRE 224 -584 224 -696
WIRE 256 -584 224 -584
WIRE 352 -584 320 -584
WIRE 448 -584 432 -584
WIRE 480 -584 480 -904
WIRE 480 -584 448 -584
WIRE 1312 -520 1312 -616
WIRE 1968 -520 1968 -616
WIRE -2928 -440 -2928 -600
WIRE -2592 -440 -2928 -440
WIRE 1616 -424 1616 -728
WIRE 2272 -424 2272 -728
WIRE -2288 -408 -2288 -712
WIRE -1536 -408 -1536 -712
WIRE -880 -408 -880 -712
WIRE 1968 -408 1968 -440
WIRE -1184 -392 -1184 -600
WIRE -176 -392 -176 -696
WIRE 528 -392 528 -696
WIRE 1312 -392 1312 -440
WIRE -2592 -376 -2592 -440
WIRE -1840 -376 -1840 -600
WIRE 1312 -376 1312 -392
WIRE 1536 -376 1536 -616
WIRE 1968 -376 1968 -408
WIRE 2192 -376 2192 -616
WIRE -2592 -360 -2592 -376
WIRE -2368 -360 -2368 -600
WIRE -1840 -360 -1840 -376
WIRE -1616 -360 -1616 -600
WIRE -1184 -360 -1184 -392
WIRE -960 -360 -960 -600
WIRE -480 -360 -480 -584
WIRE 224 -360 224 -584
WIRE -480 -344 -480 -360
WIRE -256 -344 -256 -584
WIRE 224 -344 224 -360
WIRE 448 -344 448 -584
WIRE 1312 -232 1312 -296
WIRE 1312 -232 1024 -232
WIRE 1472 -232 1312 -232
WIRE 1536 -232 1536 -296
WIRE 1536 -232 1472 -232
WIRE 1616 -232 1616 -344
WIRE 1616 -232 1536 -232
WIRE 1968 -232 1968 -296
WIRE 1968 -232 1616 -232
WIRE 2128 -232 1968 -232
WIRE 2192 -232 2192 -296
WIRE 2192 -232 2128 -232
WIRE 2272 -232 2272 -344
WIRE 2272 -232 2192 -232
WIRE 2368 -232 2368 -1160
WIRE 2368 -232 2272 -232
WIRE -3024 -216 -3024 -664
WIRE -2592 -216 -2592 -280
WIRE -2592 -216 -3024 -216
WIRE -2432 -216 -2592 -216
WIRE -2368 -216 -2368 -280
WIRE -2368 -216 -2432 -216
WIRE -2288 -216 -2288 -328
WIRE -2288 -216 -2368 -216
WIRE -1840 -216 -1840 -280
WIRE -1840 -216 -2288 -216
WIRE -1680 -216 -1840 -216
WIRE -1616 -216 -1616 -280
WIRE -1616 -216 -1680 -216
WIRE -1536 -216 -1536 -328
WIRE -1536 -216 -1616 -216
WIRE -1184 -216 -1184 -280
WIRE -1184 -216 -1536 -216
WIRE -1024 -216 -1184 -216
WIRE -960 -216 -960 -280
WIRE -960 -216 -1024 -216
WIRE -880 -216 -880 -328
WIRE -880 -216 -960 -216
WIRE -784 -216 -784 -1144
WIRE -784 -216 -880 -216
WIRE -480 -216 -480 -264
WIRE -480 -216 -784 -216
WIRE -320 -216 -480 -216
WIRE -256 -216 -256 -264
WIRE -256 -216 -320 -216
WIRE -176 -216 -176 -312
WIRE -176 -216 -256 -216
WIRE 224 -216 224 -264
WIRE 224 -216 -176 -216
WIRE 384 -216 224 -216
WIRE 448 -216 448 -264
WIRE 448 -216 384 -216
WIRE 528 -216 528 -312
WIRE 528 -216 448 -216
WIRE 1024 -216 1024 -232
WIRE 1024 -216 528 -216
WIRE 1472 -200 1472 -232
WIRE 2128 -200 2128 -232
WIRE -2432 -184 -2432 -216
WIRE -1680 -184 -1680 -216
WIRE -1024 -184 -1024 -216
WIRE 384 -184 384 -216
WIRE -320 -168 -320 -216
WIRE -704 184 -1024 184
WIRE -1552 216 -1696 216
WIRE -1424 216 -1472 216
WIRE -1328 216 -1360 216
WIRE -1552 328 -1840 328
WIRE -1424 328 -1472 328
WIRE -1328 328 -1328 216
WIRE -1328 328 -1360 328
WIRE -1024 344 -1024 184
WIRE -704 344 -704 184
WIRE -1328 392 -1328 328
WIRE -1216 392 -1328 392
WIRE -1024 392 -1024 344
WIRE -1328 424 -1328 392
WIRE -1216 440 -1216 392
WIRE -1024 440 -1024 392
WIRE -1328 456 -1328 424
WIRE -1024 552 -1024 520
WIRE -1328 568 -1328 520
WIRE -1216 568 -1216 520
WIRE -1216 568 -1328 568
WIRE -1024 584 -1024 552
WIRE -1328 600 -1328 568
WIRE -1216 600 -1328 600
WIRE -1216 616 -1216 600
WIRE -1536 632 -1536 616
WIRE -1328 632 -1328 600
WIRE -1328 712 -1328 696
WIRE -1328 712 -1536 712
WIRE -1216 712 -1216 696
WIRE -1216 712 -1328 712
WIRE -1024 712 -1024 664
WIRE -1024 712 -1216 712
WIRE -896 712 -1024 712
WIRE -704 712 -704 424
WIRE -704 712 -896 712
WIRE -1696 888 -1696 216
WIRE -1696 888 -2400 888
WIRE -1504 888 -1696 888
WIRE -992 888 -1504 888
WIRE -288 888 -992 888
WIRE 416 888 -288 888
WIRE -1840 952 -1840 328
WIRE -1840 952 -2176 952
WIRE -1584 952 -1840 952
WIRE -1040 952 -1584 952
WIRE -336 952 -1040 952
WIRE 368 952 -336 952
WIRE -2672 1144 -2704 1144
WIRE -2576 1144 -2608 1144
WIRE -2400 1144 -2400 888
WIRE -2400 1144 -2496 1144
WIRE -1920 1144 -1952 1144
WIRE -1824 1144 -1856 1144
WIRE -1648 1144 -1744 1144
WIRE -1504 1144 -1504 888
WIRE -1504 1144 -1648 1144
WIRE -1264 1144 -1296 1144
WIRE -1168 1144 -1200 1144
WIRE -992 1144 -992 888
WIRE -992 1144 -1088 1144
WIRE -560 1160 -592 1160
WIRE -464 1160 -496 1160
WIRE -288 1160 -288 888
WIRE -288 1160 -384 1160
WIRE 144 1160 112 1160
WIRE 240 1160 208 1160
WIRE 416 1160 416 888
WIRE 416 1160 320 1160
WIRE -2704 1256 -2704 1144
WIRE -2672 1256 -2704 1256
WIRE -2576 1256 -2608 1256
WIRE -2480 1256 -2496 1256
WIRE -2176 1256 -2176 952
WIRE -2176 1256 -2480 1256
WIRE -1952 1256 -1952 1144
WIRE -1920 1256 -1952 1256
WIRE -1824 1256 -1856 1256
WIRE -1728 1256 -1744 1256
WIRE -1584 1256 -1584 952
WIRE -1584 1256 -1728 1256
WIRE -1296 1256 -1296 1144
WIRE -1264 1256 -1296 1256
WIRE -1168 1256 -1200 1256
WIRE -1072 1256 -1088 1256
WIRE -1040 1256 -1040 952
WIRE -1040 1256 -1072 1256
WIRE -592 1272 -592 1160
WIRE -560 1272 -592 1272
WIRE -464 1272 -496 1272
WIRE -368 1272 -384 1272
WIRE -336 1272 -336 952
WIRE -336 1272 -368 1272
WIRE 112 1272 112 1160
WIRE 144 1272 112 1272
WIRE 240 1272 208 1272
WIRE 336 1272 320 1272
WIRE 368 1272 368 952
WIRE 368 1272 336 1272
WIRE -2400 1448 -2400 1144
WIRE -1648 1448 -1648 1144
WIRE -992 1448 -992 1144
WIRE -1296 1464 -1296 1256
WIRE -288 1464 -288 1160
WIRE 416 1464 416 1160
WIRE -2704 1480 -2704 1256
WIRE -1952 1480 -1952 1256
WIRE -2704 1496 -2704 1480
WIRE -2480 1496 -2480 1256
WIRE -1952 1496 -1952 1480
WIRE -1728 1496 -1728 1256
WIRE -1296 1496 -1296 1464
WIRE -1072 1496 -1072 1256
WIRE -592 1496 -592 1272
WIRE 112 1496 112 1272
WIRE -592 1512 -592 1496
WIRE -368 1512 -368 1272
WIRE 112 1512 112 1496
WIRE 336 1512 336 1272
WIRE -2704 1640 -2704 1576
WIRE -2544 1640 -2704 1640
WIRE -2480 1640 -2480 1576
WIRE -2480 1640 -2544 1640
WIRE -2400 1640 -2400 1528
WIRE -2400 1640 -2480 1640
WIRE -1952 1640 -1952 1576
WIRE -1952 1640 -2400 1640
WIRE -1792 1640 -1952 1640
WIRE -1728 1640 -1728 1576
WIRE -1728 1640 -1792 1640
WIRE -1648 1640 -1648 1528
WIRE -1648 1640 -1728 1640
WIRE -1296 1640 -1296 1576
WIRE -1296 1640 -1648 1640
WIRE -1136 1640 -1296 1640
WIRE -1072 1640 -1072 1576
WIRE -1072 1640 -1136 1640
WIRE -992 1640 -992 1528
WIRE -992 1640 -1072 1640
WIRE -896 1640 -896 712
WIRE -896 1640 -992 1640
WIRE -592 1640 -592 1592
WIRE -592 1640 -896 1640
WIRE -432 1640 -592 1640
WIRE -368 1640 -368 1592
WIRE -368 1640 -432 1640
WIRE -288 1640 -288 1544
WIRE -288 1640 -368 1640
WIRE 112 1640 112 1592
WIRE 112 1640 -288 1640
WIRE 272 1640 112 1640
WIRE 336 1640 336 1592
WIRE 336 1640 272 1640
WIRE 416 1640 416 1544
WIRE 416 1640 336 1640
WIRE 1024 1640 1024 -216
WIRE 1024 1640 416 1640
WIRE -2544 1672 -2544 1640
WIRE -1792 1672 -1792 1640
WIRE -1136 1672 -1136 1640
WIRE 272 1672 272 1640
WIRE -432 1688 -432 1640
FLAG -1216 -1432 gs
FLAG -1424 -1240 T
FLAG -1216 -1256 M
FLAG -1680 -184 0
FLAG -1840 -376 VA1
FLAG -1024 -184 0
FLAG -320 -168 0
FLAG -480 -360 VA3
FLAG -2432 -184 0
FLAG -2592 -376 VA4
FLAG 384 -184 0
FLAG 224 -360 VA5
FLAG -1184 -392 VA2
FLAG -1024 392 ds1
FLAG -1328 424 gs1
FLAG -1536 616 T1
FLAG -1328 600 M1
FLAG -1792 1672 0
FLAG -1952 1480 VA6
FLAG -1136 1672 0
FLAG -432 1688 0
FLAG -592 1496 VA8
FLAG -2544 1672 0
FLAG -2704 1480 VA9
FLAG 272 1672 0
FLAG 112 1496 VA10
FLAG -1296 1464 VA7
FLAG -912 -1496 ds
FLAG -1024 344 ds1
FLAG 1968 -664 N2
FLAG 2240 -1480 ds2
FLAG 1936 -1448 gs2
FLAG 1728 -1256 T2
FLAG 1936 -1272 M2
FLAG 1472 -200 0
FLAG 1312 -392 VA11
FLAG 2128 -200 0
FLAG 1968 -408 VA12
FLAG -912 -1304 R0
FLAG 1312 -664 N1I
FLAG -1024 552 R10
FLAG 2800 -1320 VA13
FLAG 2800 -1480 N3
FLAG 2240 -1320 R22
FLAG -320 -1304 VA14
FLAG -320 -1464 N1
SYMBOL voltage -592 -1528 R0
SYMATTR InstName Vd
SYMATTR Value 0.5V
SYMBOL bi -912 -1416 R0
SYMATTR Value I=if (V(gs)-V(T)>V(ds),  Km*(2*(V(gs)-V(T))-V(ds))*V(ds), (if ( V(gs)>V(T), Km*(V(gs)-V(T))*(V(gs)-V(T)), 0)))
SYMATTR InstName Id
SYMBOL cap -1232 -1400 R0
SYMATTR InstName C1
SYMATTR Value {c1}
SYMBOL cap -1232 -1224 R0
SYMATTR InstName C2
SYMATTR Value {c2}
SYMBOL diode -1312 -1512 R270
SYMATTR InstName Dp
SYMATTR Value DiodeNRD
SYMBOL res -1344 -1544 R90
SYMATTR InstName Rs
SYMATTR Value 400Meg
SYMBOL res -1120 -1432 R0
SYMATTR InstName Rr
SYMATTR Value 29Meg
SYMBOL res -1120 -1256 R0
SYMATTR InstName RM
SYMATTR Value 300Meg
SYMBOL bv -1424 -1240 R0
SYMATTR Value V=VT0*(1-f*abs(V(M))/{VT0})
SYMATTR InstName VT
SYMBOL diode -1248 -1656 R90
SYMATTR InstName Dp1
SYMATTR Value DiodeNRD
SYMBOL res -1344 -1656 R90
SYMATTR InstName Rs1
SYMATTR Value 600Meg
SYMBOL Misc/signal -1840 -376 R0
SYMATTR InstName VA1
SYMATTR Value PULSE(0 {V} 100 0.03 0.03 0.25 0.5 200)
SYMBOL res -1632 -376 R0
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL bv -1728 -600 R270
SYMATTR InstName Rh2
SYMATTR Value V=abs(I(Rh2))*(0.75k*abs((V(VA1)-V(gs))/{V}))
SYMBOL bv -1616 -712 R90
SYMATTR InstName Rh3
SYMATTR Value V=abs(I(Rh3))*(0.75k*abs((-V(VA1)+V(gs))/{abs(V)}))
SYMBOL diode -1744 -728 R90
SYMATTR InstName Dp4
SYMATTR Value DiodeNRD2
SYMBOL diode -1808 -584 R270
SYMATTR InstName Dp5
SYMATTR Value DiodeNRD2
SYMBOL res -1552 -424 R0
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL Misc/signal -1184 -376 R0
SYMATTR InstName VA2
SYMATTR Value PULSE(0 {V} 200 0.03 0.03 0.25 0.5 200)
SYMBOL res -976 -376 R0
SYMATTR InstName R4
SYMATTR Value 1k
SYMBOL bv -1072 -600 R270
SYMATTR InstName Rh4
SYMATTR Value V=abs(I(Rh4))*(1k*abs((V(VA2)-V(gs))/{V}))
SYMBOL bv -960 -712 R90
SYMATTR InstName Rh5
SYMATTR Value V=abs(I(Rh5))*(1k*abs((-V(VA2)+V(gs))/{abs(V)}))
SYMBOL diode -1088 -728 R90
SYMATTR InstName Dp6
SYMATTR Value DiodeNRD2
SYMBOL diode -1152 -584 R270
SYMATTR InstName Dp7
SYMATTR Value DiodeNRD2
SYMBOL res -896 -424 R0
SYMATTR InstName R5
SYMATTR Value 1k
SYMBOL Misc/signal -480 -360 R0
SYMATTR InstName VA3
SYMATTR Value PULSE(0 {V} 300 0.03 0.03 0.25 0.5 200)
SYMBOL res -272 -360 R0
SYMATTR InstName R6
SYMATTR Value 1k
SYMBOL bv -368 -584 R270
SYMATTR InstName Rh6
SYMATTR Value V=abs(I(Rh6))*(1.25k*abs((V(VA3)-V(gs))/{V}))
SYMBOL bv -256 -696 R90
SYMATTR InstName Rh7
SYMATTR Value V=abs(I(Rh7))*(1.25k*abs((-V(VA3)+V(gs))/{abs(V)}))
SYMBOL diode -384 -712 R90
SYMATTR InstName Dp8
SYMATTR Value DiodeNRD2
SYMBOL diode -448 -568 R270
SYMATTR InstName Dp9
SYMATTR Value DiodeNRD2
SYMBOL res -192 -408 R0
SYMATTR InstName R7
SYMATTR Value 1k
SYMBOL Misc/signal -2592 -376 R0
SYMATTR InstName VA4
SYMATTR Value PULSE(0 {V} 0 0.03 0.03 0.25 0.5 200)
SYMBOL res -2384 -376 R0
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL bv -2480 -600 R270
SYMATTR InstName Rh1
SYMATTR Value V=abs(I(Rh1))*(0.5k*abs((V(VA4)-V(gs))/{V}))
SYMBOL bv -2368 -712 R90
SYMATTR InstName Rh8
SYMATTR Value V=abs(I(Rh8))*(0.5k*abs((-V(VA4)+V(gs))/{abs(V)}))
SYMBOL diode -2496 -728 R90
SYMATTR InstName Dp2
SYMATTR Value DiodeNRD2
SYMBOL diode -2560 -584 R270
SYMATTR InstName Dp3
SYMATTR Value DiodeNRD2
SYMBOL res -2304 -424 R0
SYMATTR InstName R8
SYMATTR Value 1k
SYMBOL sw -2928 -696 R0
SYMATTR InstName S1
SYMATTR Value MYSW
SYMBOL Misc/signal 224 -360 R0
SYMATTR InstName VA5
SYMATTR Value PULSE(0 {V} 400 0.03 0.03 0.25 0.5 200)
SYMBOL res 432 -360 R0
SYMATTR InstName R9
SYMATTR Value 1k
SYMBOL bv 336 -584 R270
SYMATTR InstName Rh9
SYMATTR Value V=abs(I(Rh9))*(1.5k*abs((V(VA5)-V(gs))/{V}))
SYMBOL bv 448 -696 R90
SYMATTR InstName Rh10
SYMATTR Value V=abs(I(Rh12))*(1.5k*abs((-V(VA5)+V(gs))/{abs(V)}))
SYMBOL diode 320 -712 R90
SYMATTR InstName Dp10
SYMATTR Value DiodeNRD2
SYMBOL diode 256 -568 R270
SYMATTR InstName Dp11
SYMATTR Value DiodeNRD2
SYMBOL res 512 -408 R0
SYMATTR InstName R12
SYMATTR Value 1k
SYMBOL voltage -704 328 R0
SYMATTR InstName Vd1
SYMATTR Value 0.5V
SYMBOL bi -1024 440 R0
SYMATTR Value I=if (V(gs1)-V(T1)>V(ds1),  Km*(2*(V(gs1)-V(T1))-V(ds1))*V(ds1), (if ( V(gs1)>V(T1), Km*(V(gs1)-V(T1))*(V(gs1)-V(T1)), 0)))
SYMATTR InstName Id1
SYMBOL cap -1344 456 R0
SYMATTR InstName C3
SYMATTR Value {c1}
SYMBOL cap -1344 632 R0
SYMATTR InstName C4
SYMATTR Value {c2}
SYMBOL diode -1424 344 R270
SYMATTR InstName Dp12
SYMATTR Value DiodeNRD
SYMBOL res -1456 312 R90
SYMATTR InstName Rs2
SYMATTR Value 400Meg
SYMBOL res -1232 424 R0
SYMATTR InstName Rr1
SYMATTR Value 29Meg
SYMBOL res -1232 600 R0
SYMATTR InstName RM1
SYMATTR Value 300Meg
SYMBOL bv -1536 616 R0
SYMATTR Value V=VT0*(1-f*abs(V(M1))/{VT0})
SYMATTR InstName VT1
SYMBOL diode -1360 200 R90
SYMATTR InstName Dp13
SYMATTR Value DiodeNRD
SYMBOL res -1456 200 R90
SYMATTR InstName Rs3
SYMATTR Value 600Meg
SYMBOL Misc/signal -1952 1480 R0
SYMATTR InstName VA6
SYMATTR Value PULSE(0 {V1} 100 0.03 0.03 0.25 0.5 200)
SYMBOL res -1744 1480 R0
SYMATTR InstName R11
SYMATTR Value 1k
SYMBOL bv -1840 1256 R270
SYMATTR InstName Rh11
SYMATTR Value V=abs(I(Rh11))*(0.75k*abs((V(VA6)-V(gs1))/{V1}))
SYMBOL bv -1728 1144 R90
SYMATTR InstName Rh12
SYMATTR Value V=abs(I(Rh12))*(0.75k*abs((-V(VA6)+V(gs1))/{abs(V1)}))
SYMBOL diode -1856 1128 R90
SYMATTR InstName Dp14
SYMATTR Value DiodeNRD2
SYMBOL diode -1920 1272 R270
SYMATTR InstName Dp15
SYMATTR Value DiodeNRD2
SYMBOL res -1664 1432 R0
SYMATTR InstName R13
SYMATTR Value 1k
SYMBOL Misc/signal -1296 1480 R0
SYMATTR InstName VA7
SYMATTR Value PULSE(0 {V1} 200 0.03 0.03 0.25 0.5 200)
SYMBOL res -1088 1480 R0
SYMATTR InstName R14
SYMATTR Value 1k
SYMBOL bv -1184 1256 R270
SYMATTR InstName Rh13
SYMATTR Value V=abs(I(Rh13))*(1k*abs((V(VA7)-V(gs1))/{V1}))
SYMBOL bv -1072 1144 R90
SYMATTR InstName Rh14
SYMATTR Value V=abs(I(Rh14))*(1k*abs((-V(VA7)+V(gs1))/{abs(V)}))
SYMBOL diode -1200 1128 R90
SYMATTR InstName Dp16
SYMATTR Value DiodeNRD2
SYMBOL diode -1264 1272 R270
SYMATTR InstName Dp17
SYMATTR Value DiodeNRD2
SYMBOL res -1008 1432 R0
SYMATTR InstName R15
SYMATTR Value 1k
SYMBOL Misc/signal -592 1496 R0
SYMATTR InstName VA8
SYMATTR Value PULSE(0 {V1} 300 0.03 0.03 0.25 0.5 200)
SYMBOL res -384 1496 R0
SYMATTR InstName R16
SYMATTR Value 1k
SYMBOL bv -480 1272 R270
SYMATTR InstName Rh15
SYMATTR Value V=abs(I(Rh15))*(1.25k*abs((V(VA8)-V(gs1))/{V1}))
SYMBOL bv -368 1160 R90
SYMATTR InstName Rh16
SYMATTR Value V=abs(I(Rh16))*(1.25k*abs((-V(VA8)+V(gs1))/{abs(V)}))
SYMBOL diode -496 1144 R90
SYMATTR InstName Dp18
SYMATTR Value DiodeNRD2
SYMBOL diode -560 1288 R270
SYMATTR InstName Dp19
SYMATTR Value DiodeNRD2
SYMBOL res -304 1448 R0
SYMATTR InstName R17
SYMATTR Value 1k
SYMBOL Misc/signal -2704 1480 R0
SYMATTR InstName VA9
SYMATTR Value PULSE(0 {V1} 0 0.03 0.03 0.25 0.5 200)
SYMBOL res -2496 1480 R0
SYMATTR InstName R18
SYMATTR Value 1k
SYMBOL bv -2592 1256 R270
SYMATTR InstName Rh17
SYMATTR Value V=abs(I(Rh17))*(0.5k*abs((V(VA9)-V(gs1))/{V1}))
SYMBOL bv -2480 1144 R90
SYMATTR InstName Rh18
SYMATTR Value V=abs(I(Rh18))*(0.5k*abs((-V(VA9)+V(gs1))/{abs(V)}))
SYMBOL diode -2608 1128 R90
SYMATTR InstName Dp20
SYMATTR Value DiodeNRD2
SYMBOL diode -2672 1272 R270
SYMATTR InstName Dp21
SYMATTR Value DiodeNRD2
SYMBOL res -2416 1432 R0
SYMATTR InstName R19
SYMATTR Value 1k
SYMBOL Misc/signal 112 1496 R0
SYMATTR InstName VA10
SYMATTR Value PULSE(0 {V1} 400 0.03 0.03 0.25 0.5 200)
SYMBOL res 320 1496 R0
SYMATTR InstName R20
SYMATTR Value 1k
SYMBOL bv 224 1272 R270
SYMATTR InstName Rh19
SYMATTR Value V=abs(I(Rh19))*(1.5k*abs((V(VA10)-V(gs1))/{V1}))
SYMBOL bv 336 1160 R90
SYMATTR InstName Rh20
SYMATTR Value V=abs(I(Rh20))*(1.5k*abs((-V(VA10)+V(gs1))/{abs(V)}))
SYMBOL diode 208 1144 R90
SYMATTR InstName Dp22
SYMATTR Value DiodeNRD2
SYMBOL diode 144 1288 R270
SYMATTR InstName Dp23
SYMATTR Value DiodeNRD2
SYMBOL res 400 1448 R0
SYMATTR InstName R21
SYMATTR Value 1k
SYMBOL csw 1968 -520 R0
SYMATTR InstName W2
SYMATTR Value VId1 MCSW
SYMBOL voltage 2560 -1544 R0
SYMATTR InstName Vd2
SYMATTR Value 0.5V
SYMBOL bi 2240 -1432 R0
SYMATTR Value I=if (V(gs2)-V(T2)>V(ds2),  Km*(2*(V(gs2)-V(T2))-V(ds2))*V(ds2), (if ( V(gs2)>V(T2), Km*(V(gs2)-V(T2))*(V(gs2)-V(T2)), 0)))
SYMATTR InstName Id2
SYMBOL cap 1920 -1416 R0
SYMATTR InstName C5
SYMATTR Value {c1}
SYMBOL cap 1920 -1240 R0
SYMATTR InstName C6
SYMATTR Value {c2}
SYMBOL diode 1840 -1528 R270
SYMATTR InstName Dp24
SYMATTR Value DiodeNRD
SYMBOL res 1808 -1560 R90
SYMATTR InstName Rs4
SYMATTR Value 400Meg
SYMBOL res 2032 -1448 R0
SYMATTR InstName Rr2
SYMATTR Value 29Meg
SYMBOL res 2032 -1272 R0
SYMATTR InstName RM2
SYMATTR Value 300Meg
SYMBOL bv 1728 -1256 R0
SYMATTR Value V=VT0*(1-f*abs(V(M2))/{VT0})
SYMATTR InstName VT2
SYMBOL diode 1904 -1672 R90
SYMATTR InstName Dp25
SYMATTR Value DiodeNRD
SYMBOL res 1808 -1672 R90
SYMATTR InstName Rs5
SYMATTR Value 600Meg
SYMBOL Misc/signal 1312 -392 R0
SYMATTR InstName VA11
SYMATTR Value PULSE(0 {Vr} 0 0.03 0.03 0.25 0.5 1000)
SYMBOL res 1520 -392 R0
SYMATTR InstName R23
SYMATTR Value 1k
SYMBOL bv 1424 -616 R270
SYMATTR InstName Rh21
SYMATTR Value V=abs(I(Rh21))*(0.5k*abs((V(VA11)-V(gs2))/{Vr}))
SYMBOL bv 1536 -728 R90
SYMATTR InstName Rh22
SYMATTR Value V=abs(I(Rh22))*(0.5k*abs((-V(VA11)+V(gs2))/{abs(Vr)}))
SYMBOL diode 1408 -744 R90
SYMATTR InstName Dp26
SYMATTR Value DiodeNRD2
SYMBOL diode 1344 -600 R270
SYMATTR InstName Dp27
SYMATTR Value DiodeNRD2
SYMBOL res 1600 -440 R0
SYMATTR InstName R24
SYMATTR Value 1k
SYMBOL Misc/signal 1968 -392 R0
SYMATTR InstName VA12
SYMATTR Value PULSE(0 {V2} 0 0.03 0.03 0.25 0.5 1000)
SYMBOL res 2176 -392 R0
SYMATTR InstName R25
SYMATTR Value 1k
SYMBOL bv 2080 -616 R270
SYMATTR InstName Rh23
SYMATTR Value V=abs(I(Rh23))*(1.25k*abs((V(VA12)-V(gs2))/{V}))
SYMBOL bv 2192 -728 R90
SYMATTR InstName Rh24
SYMATTR Value V=abs(I(Rh24))*(1.25k*abs((-V(VA12)+V(gs2))/{abs(V)}))
SYMBOL diode 2064 -744 R90
SYMATTR InstName Dp28
SYMATTR Value DiodeNRD2
SYMBOL diode 2000 -600 R270
SYMATTR InstName Dp29
SYMATTR Value DiodeNRD2
SYMBOL res 2256 -440 R0
SYMATTR InstName R26
SYMATTR Value 1k
SYMBOL csw 1312 -520 R0
SYMATTR InstName W1
SYMATTR Value VId MCSW
SYMBOL res -928 -1288 R0
SYMATTR InstName R0
SYMATTR Value 1
SYMBOL res -1040 568 R0
SYMATTR InstName R10
SYMATTR Value 1
SYMBOL csw 2800 -1432 R0
SYMATTR Value VId2 MCSW
SYMATTR InstName W3
SYMBOL Misc/signal 2800 -1304 R0
SYMATTR InstName VA13
SYMATTR Value PULSE(0 {V2} 0 0.03 0.03 0.25 0.5 1000)
SYMBOL res 2224 -1320 R0
SYMATTR InstName R22
SYMATTR Value 1
SYMBOL res 3008 -1400 R0
SYMATTR InstName R27
SYMATTR Value 1Meg
SYMBOL csw -320 -1416 R0
SYMATTR Value VId MCSW
SYMATTR InstName W4
SYMBOL Misc/signal -320 -1288 R0
SYMATTR InstName VA14
SYMATTR Value PULSE(0 {V2} 0 0.03 0.03 0.25 0.5 1000)
SYMBOL res -112 -1384 R0
SYMATTR InstName R28
SYMATTR Value 1Meg