(VerilogA) How to plot two different output transition follow input condition

Status
Not open for further replies.

irisaru

Newbie level 6
Joined
May 25, 2013
Messages
11
Helped
0
Reputation
0
Reaction score
1
Trophy points
1,281
Activity points
1,366
Hi all,

I want to plot two output transition follow the input condition in verilogA. Here is my code
Code:
if (V(in[7]) == 0)
    V(vout) <+ transition ( vout1, trise, tfall);
else
    V(vout) <+ transition ( vout2, trise, tfall);

However, the compiler reported that " Do not use the 'transition' analog operator in a conditionally-executed statement or in an expression"
Could you please let me advices or suggestions to solve this problem?

Thank you and Best regards,
Irisaru
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…