rahdirs
Advanced Member level 1
Hi,
I'm trying to measure the delay in hspice for an inverter by using .measure command.
I've got an error --
I've specified TD = 10n in the trigger, why is it still pointing to at = val ?
Regards,
rahdirs
I'm trying to measure the delay in hspice for an inverter by using .measure command.
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
I've got an error --
**error** Measure statement failure;
rise, fall, or cross must be specified if
at=val was not specified in trigger
I've specified TD = 10n in the trigger, why is it still pointing to at = val ?
Regards,
rahdirs