taranom1
Junior Member level 1
Hi,
I want to measure Max delay of a full adder,So I use .measure for compare the Max of inputs to outputs Rise and Fall times in group of two, but there is negative value in several rise or fall times!
What's wrong?
I want to measure Max delay of a full adder,So I use .measure for compare the Max of inputs to outputs Rise and Fall times in group of two, but there is negative value in several rise or fall times!
Code:
.measure tran delay_ar_C TRIG v(A) val='Supply*0.5' td=5ns cross=1
+ TARG v(Cout) val='Supply*0.5' td=5ns cross=1
.
.
.
.measure tran td_m1 param='max(delay_ar_C ,delay_bf_C)'
.measure tran td_m2 param='max(delay_cinf_C,delay_cinr_C)'
.
.
.
.measure tran td_m12 param='max(td_m1,td_m2)'
.
.
.