10.06.2016 Views

eldo_user

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Eldo Netlist Setup<br />

Operators<br />

Arithmetic Operators<br />

The arithmetic operators available are +, -, *, / and ^ (or **) for power.<br />

Note<br />

The power operator (^) has the highest precedence. For example:<br />

1+4^2 gives the result: 17<br />

2*3^2 gives the result: 18<br />

x^y or x**y is computed as exp(y*log(x)) if x is strictly positive, 0 if x=0, and returns an error<br />

if x is negative. Specify option POWNEG0 to allow a negative x value in power expressions:<br />

the expression will return 0. In versions of Eldo prior to v6.6, a negative x value was allowed.<br />

Related Topics<br />

Boolean Operators<br />

Operators<br />

Boolean Operators<br />

The following boolean expressions/operators are available:<br />

Table 4-5. Boolean Operators<br />

Operator Meaning<br />

!= not equal to<br />

== equal to<br />

< less than<br />

greater than<br />

>= greater than or equal to<br />

|| OR operator<br />

&&<br />

AND operator<br />

Related Topics<br />

Bitwise Operators<br />

Operators<br />

116<br />

Eldo® User's Manual, 15.3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!