"Dual-stage_n"
.source V1
.param L_s=120m R_s=875 R_t=10k tau_i=15.9u C_ell=10p
.param W={2*W_N} L={L_N} ID={2*ID_N} ID_o={-0.6*I_fb} W_o=1u L_o=180n
.detector V_out
.lgref Gm_M1_X1
C1 out 4 C value={tau_i/R_i} vinit=0
C2 out 0 C value={C_ell} vinit=0
L1 1 in L value={L_s} iinit=0
R1 1 2 R value={R_s} noisetemp=0 noiseflow=0 dcvar=0 dcvarlot=0
R2 in 0 R value={R_t} noisetemp=0 noiseflow=0 dcvar=0 dcvarlot=0
R3 4 0 R value={R_i} noisetemp=0 noiseflow=0 dcvar=0 dcvarlot=0
V1 2 0 V value=0 noise=0 dc=0 dcvar=0
X1 3 0 in 4 CMOS18ND W={W} L={L} ID={ID}
X2 out 3 0 0 CMOS18P W={W_o} L={L_o} ID={ID_o}
.end