004_tran_op : IBIS Buffer
Requires: SmartSpice & Smartview
Minimum Versions: SMARTSPICE 3.16.12.R
Example 4 illustrates The input deck file .....
Input Files
mod1.in
Parametric analysis ***** Circuit description vcc vss 0 DC vccDC vin inp 0 PULSE(0 3 0 trtf trtf 10ns 40ns) m1 2 inp vss vss pm w=wp l=1.6u m2 2 inp 0 0 nm w=30u l=2.0u cout 2 0 50ff .MODEL pm PMOS ( level=3 tox=.02e-6 + phi=0.576 gamma=0 vto=0 alpha=0 kappa=0) .model nm NMOS ( level=3 tox=.02e-6 + phi=0.576 gamma=0 vto=0 alpha=0 kappa=0) ***** Analysis statement .TRAN 0.1ns 25ns ***** Measure statements .MEASURE TRAN delrise DELAY v(inp) RISE=1 VAL=1.5 + TARG=v(2) FALL=1 VAL='0.5*vccDC' .MEASURE TRAN maxv2 MAX v(2) .MEASURE TRAN delfall DELAY v(inp) FALL=1 VAL=1.5 + TARG=v(2) RISE=1 VAL='0.5*maxv2' ***** Parameter labels .PARAM vccDC= 5V wp=4.9u trtf=1ns ***** Parametric analysis specification .MODIF proff prtbl m2(w)=32.6u LOOP=6 vccDC+=(4.5)0.1v +MODIF proff prtbl TEMP=75 LOOP=6 vccDC+=(4.5)0.1v .options nomod .END
opTR.in
Address Buffer * Optimization of rise and fall delays ***** Circuit vin inp 0 DC 1.5 PULSE( 0.4 2.6 0 5N 5N 15N ) vcc vss 0 DC vccdc m1 2 inp vss vss pm W=5.067U L=1.6U m2 2 inp 0 0 nm W=34.82U L=2.0U m3 3 2 vss vss pm W= 50u L=1.1U m4 3 2 0 0 nm W=70.U L=1.0U m5 4 3 vss vss pm W=320.U L=1.1U m6 4 3 0 0 nm W=440.U L=1.1U m7 out 4 vss vss pm W=parm7w L=1.1U m8 out 4 0 0 nm W=parm8w L=1.1U m9 0 out 0 0 nm W=380U L=1.2U COUT out 0 700p ***** Models .MODEL pm PMOS ( level=3 tox=.02e-6 + phi=0.576 gamma=0 vto=0 alpha=0 kappa=0 is=0) .model nm NMOS ( level=3 tox=.02e-6 + phi=0.576 gamma=0 vto=0 alpha=0 kappa=0 is=0) ***** Analysis statement .TRAN 0.2NS 40NS CALLV SAVEV ***** Parameter labels .PARAM parm7w=500u parm8w=500u vccdc=4.5 ***** Measure statements .MEASURE TRAN del_R DELAY v(inp) RISE=1 VAL=1.5 + TARG=v(out) RISE=1 VAL= 'vccdc/2' .MEASURE TRAN del_F DELAY v(inp) FALL=1 VAL=1.5 + TARG=v(out) FALL=1 VAL='vccdc/2' ***** Optimization specification .MODIF TEMP= 75 vccdc=4.5 + OPTIMIZE parm7w=opt(10u 3000u 500U) + parm8w=opt(10u 3000u 500U) + m3(w)=opt(10u 300u 50U) + m4(w)=opt(10u 300u 70U) + m5(w)=opt(100u 1000u 320U) + m6(w)=opt(50u 1000u 440U) + TARGETS del_f=3ns del_r=3ns + OPTIONS AVG=0.001 MEASOFF=0 ***** Interactive plot .OPTIONS iplot_one nomod .IPLOT v(out) v(inp) .END
Graphics