Hello everyone,
is it possible to write if expression like following codes when I define global variables in adexl:
if (a==b) then
if (c==d) then
expression
else
expression
else
expression
I know its possible to write something like out= if( (a==b) then 1 else 0), so I write like:
if ( (a==b) then ( if ( (c==d) then current else -current) ) else 0)
But I get error:
"input.scs" 9: Parameter `I_ainv': Cannot run the simulation because an unknown parameter `if' has been specified in expression `if'
Does anyone know why it happens? Thanks a lot for help
Warm regards,
Holz