Ultrasim is not recognising hspice (<) syntax

Status
Not open for further replies.

ankumar

Newbie level 6
Joined
Jan 13, 2008
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,339
Hi ,

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.

Thanks
Anil K.
 

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.
 

Thanks for the response, FvM.
I Ultrasim user manual , I do not see any equivalent syntax. I am wondering if anyone of you have any suggestion.
 

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