"diffpair_p"
.source V1
.detector V_out
.lgref Gm_M1_X1
.param L_s=120m R_s=875 R_t=10k tau_i=15.9u C_ell=10p
.param W={W_P} L={L_P} ID={2*ID_P}
C1 out 3 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={T} noiseflow=0 dcvar=0 dcvarlot=0
R2 in 0 R value={R_t} noisetemp={T} noiseflow=0 dcvar=0 dcvarlot=0
R3 3 0 R value={R_i} noisetemp={T} noiseflow=0 dcvar=0 dcvarlot=0
V1 2 0 V value=0 noise=0 dc=0 dcvar=0
X1 0 out in 3 CMOS18PD W={W} L={L} ID={ID}
.end