I am running Ultrasim on hspice control file. I have following syntax in the hspice and Ultraspice does not like "?" . Error message says that "Unexpected ternary operator "?" .
My hspice deck is
.measure result param='(V_out < 0.4)?1:0'
Please let me know if you know how to resolve this issue.
At least, Ultrasim knows that it's a ternary operator...
But it's no generic SPICE syntax and won't be supported by many other SPICE based simulators either. Study the Ultrasim manual to find out what can be used instead.