1 * Astable multivibrator MOSFET
8 *Vdd 4 0 pulse iv=0 pv=5 rise=1p
23 MN2 out 3 0 0 nmos L=8u
26 + LAMBDA=3e-2 CBD=1f IS=1E-21 PB=0.7256 CGSO=0.3n CGDO=0.3n CJ=1e-3 MJ=0.315 CJSW=4.054e-10 MJSW=0.2313 TOX=8n NSUB=2.5e17
30 .print tran v(nodes) v0t(0) v0dist(0)
35 .TR 0 16u 1u trace=a edge=y cont > lrc_y.out echo
36 .TR 40u trace=a edge=b > lrc_b.out echo
38 .print tw control(0) lt(0) ltt(0)
40 .parameter period=11.59u
42 .TR 0 10u 10u trace=a cont
44 .ttr 0 5000 {period} .05u * 1e9 trace=g cont new > tw.out echo tran cont edge=b > tttr.out