How to use another signal as TRIG or TARG value in HSPICE .MEASURE

Status
Not open for further replies.

zb8521

Newbie level 4
Joined
Jan 26, 2010
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,334
Hi,

I would like to measure the delay from rising of one signal to the crossing of another two signals, anyone know how to do this? Can I use something like:

.MEASURE TRAN delay TRIG v(sig_1) VAL='vdd/2' RISE=1 TARG v(sig_2) VAL=v(sig_3) CROSS=1

Is the using of v(sig_3) legal here as VAL?

Thanks.
 

.MEASURE TRAN delay TRIG v(sig_1) VAL='vdd/2' RISE=1 TARG v(sig_2) VAL=v(sig_3) CROSS=1

Is the using of v(sig_3) legal here as VAL?

Perhaps; just try it! Or try this:

Code:
.MEASURE TRAN tcross WHEN v(sig_2) = v(sig_3) CROSS=1
.MEASURE TRAN delay FROM v(sig_1) VAL='vdd/2' RISE=1 TO='tcross'
 
Reactions: MHML

    MHML

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…