rahdirs
Advanced Member level 1
Hi,
I have a spice file like this:
Is it possible to edit parameters that we are importing from 'NMOS_VTL.inc' & 'PMOS_VTL.inc' without manually doing it ? For example, I'll be importing Vth0 = 0.43.. from nmos model file & Vth0 = -0.47... from pmos model. Can i change those values from the spice file ?
Regards,
rahdirs
I have a spice file like this:
Code:
**Test inverter
.TEMP 110
**Use high temperature to simulate worst case delay and leakage power
.OPTION
+ ARTIST=2
+ INGOLD=2
+ MEASOUT=1
+ PARHIER=LOCAL
+ PSF=2
+ POST
.inc '/home/**/NMOS_VTL.inc' ** I've hid the directory path while posting
.inc '/home/**/PMOS_VTL.inc'
.include inverter.sp
v1 vdd! 0 1.1v
v2 vin 0 PULSE(0 1.1V 1ns 0.02ns 0.02ns 1ns 3ns)
.op
.tran 10p 20ns
.MEASURE TRAN tdlay TRIG Vout VAL = 0.5 TD = 10n RISE = 2
+ TARG Vin VAL = 0.5 FALL = 2
.end
Is it possible to edit parameters that we are importing from 'NMOS_VTL.inc' & 'PMOS_VTL.inc' without manually doing it ? For example, I'll be importing Vth0 = 0.43.. from nmos model file & Vth0 = -0.47... from pmos model. Can i change those values from the spice file ?
Regards,
rahdirs