* SPICE netlist
XU1 N002 N001 +12 -12 out {M} ;pnba In+)In-)V+)V-)OUT
R1 N001 out 20k
R2 0 N001 10k
V1 +12 0 12
V2 -12 0 -12
V3 in 0 PULSE(-2 2 0 1u 1u 99u 200u)
R3 in N002 5k
.tran 0 500u 0 0.1u
.SUBCKT 324 1 2 99 50 28
IOS 2 1 5N
R1 1 3 500K
R2 3 2 500K
I1 99 4 100U
R3 5 50 517
R4 6 50 517
Q1 5 2 4 QX
Q2 6 7 4 QX
C4 5 6 128.27P
I2 99 50 75U
EOS 7 1 POLY(1) 16 49 2E-3 1
R8 99 49 60K
R9 49 50 60K
V2 99 8 1.63
D1 9 8 DX
D2 10 9 DX
V3 10 50 .635
EH 99 98 99 49 1
G1 98 9 POLY(1) 5 6 0 9.8772E-4 0 .3459
R5 98 9 101.2433MEG
C3 98 9 200P
G3 98 15 9 49 1E-6
R12 98 15 1MEG
C5 98 15 7.9577E-14
G4 98 16 3 49 5.6234E-8
L2 98 17 15.9M
R13 17 16 1K
F6 50 99 POLY(1) V6 300U 1
E1 99 23 99 15 1
R16 24 23 17.5
D5 26 24 DX
V6 26 22 .63V
R17 23 25 17.5
D6 25 27 DX
V7 22 27 .63V
V5 22 21 0.27V
D4 21 15 DX
V4 20 22 0.27V
D3 15 20 DX
L3 22 28 500P
RL3 22 28 100K
.SUBCKT 1013 1 2 3 4 5
C1 11 12 8.661E-12
C2 6 7 30.00E-12
DC 8 53 DX
DE 54 8 DX
DLP 90 91 DX
DLN 92 90 DX
DP 4 3 DX
EGND 99 0 POLY(2) (3,0) (4,0) 0 .5 .5
FB 7 99 POLY(5) VB VC VE VLP VLN 0 2.475E9 -2E9 2E9 2E9 -2E9
GA 6 0 11 12 113.1E-6
GCM 0 6 10 99 225.7E-12
IEE 3 10 DC 12.03E-6
HLIM 90 0 VLIM 1K
Q1 11 102 13 QM1
Q2 12 101 14 QM2
RB1 2 102 400
RB2 1 101 400
DCM1 105 102 DX
DCM2 105 101 DX
VCMC 105 4 DC 0.4
R2 6 9 100.0E3
RC1 4 11 8.841E3
RC2 4 12 8.841E3
RE1 13 10 4.519E3
RE2 14 10 4.519E3
REE 10 99 16.63E6
RO1 8 5 80
RO2 7 99 25
IP 3 4 328E-6
VB 9 0 DC 0
VC 3 53 DC 1.610
VE 54 4 DC .61
VLIM 7 8 DC 0
VLP 91 0 DC 25
VLN 0 92 DC 25
.subckt 358 1 2 3 4 5
c1 11 12 3.000E-12
c2 6 7 6.000E-12
cee 10 99 388.6E-15
dc 5 53 dx
de 54 5 dx
dlp 90 91 dx
dln 92 90 dx
dp 4 3 dx
egnd 99 0 poly(2) (3,0) (4,0) 0 .5 .5
fb 7 99 poly(5) vb vc ve vlp vln 0 48.23E6
+ -50E6 50E6 50E6 -50E6
ga 6 0 11 12 41.47E-6
gcm 0 6 10 99 414.7E-12
iee 3 10 dc 2.543E-6
hlim 90 0 vlim 1K
q1 11 2 13 qx
q2 12 1 14 qx
r2 6 9 100.0E3
rc1 4 11 24.11E3
rc2 4 12 24.11E3
re1 13 10 3.043E3
re2 14 10 3.043E3
ree 10 99 78.65E6
ro1 8 5 50
ro2 7 99 25
rp 3 4 37.62E3
vb 9 0 dc 0
vc 3 53 dc 1.800
ve 54 4 dc .88
vlim 7 8 dc 0
vlp 91 0 dc 40
vln 0 92 dc 40
desd1 1 3 dx
desd2 2 3 dx
.STEP param M list 324 1013 358
.save V(out)

* LTspice schematic (.asc)
Version 4
SHEET 1 640 336
WIRE -96 -40 -96 -56
WIRE -96 24 -96 40
WIRE -64 -8 -16 -8
WIRE -128 -24 -160 -24
WIRE -128 8 -192 8
WIRE -160 -24 -160 -168
WIRE -160 -168 -112 -168
WIRE -160 -168 -192 -168
WIRE -16 -8 -16 -168
WIRE -16 -8 32 -8
WIRE -16 -168 -32 -168
WIRE -272 -168 -304 -168
WIRE 176 -40 176 -8
WIRE 320 -40 320 -8
WIRE 320 -120 320 -152
WIRE 176 -120 176 -152
WIRE -272 8 -320 8
WIRE -320 8 -320 56
WIRE -320 136 -320 168
WIRE -320 -24 -320 8
FLAG -304 -168 0
FLAG -96 -56 +12
FLAG -96 40 -12
FLAG 176 -8 0
FLAG 320 -8 0
FLAG 176 -152 +12
FLAG 320 -152 -12
FLAG -320 168 0
FLAG 32 -8 out
IOPIN 336 -336 Out
FLAG -320 -24 in
IOPIN -16 -352 Out
SYMBOL Opamps\\opamp2 -96 -72 R0
SYMATTR InstName U1
SYMATTR Value {M}
SYMBOL res -128 -152 R270
SYMATTR InstName R1
SYMATTR Value 20k
SYMBOL res -288 -152 R270
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL voltage 176 -136 R0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL voltage 320 -136 R0
SYMATTR InstName V2
SYMATTR Value -12
SYMBOL voltage -320 40 R0
SYMATTR InstName V3
SYMATTR Value PULSE(-2 2 0 1u 1u 99u 200u)
SYMBOL res -288 24 R270
SYMATTR InstName R3
SYMATTR Value 5k