S
Samiran
Guest
Hi all,
I have compiled the following piece of code:
******************************************************
if (V(vin_p,vin_n) > vin_max)
V(vout) <+ rampup*idt(1);
else if (V(vin_p,vin_n) < vin_min)
V(vout) <+ rampdown*idt(1);
******************************************************
And got the error:
***************************************************************************************************
analog operator `idt' embedded in conditionally executed statement or
expression.
***************************************************************************************************
How can I avoid this?
regards,
Sam
I have compiled the following piece of code:
******************************************************
if (V(vin_p,vin_n) > vin_max)
V(vout) <+ rampup*idt(1);
else if (V(vin_p,vin_n) < vin_min)
V(vout) <+ rampdown*idt(1);
******************************************************
And got the error:
***************************************************************************************************
analog operator `idt' embedded in conditionally executed statement or
expression.
***************************************************************************************************
How can I avoid this?
regards,
Sam