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 />

Functions, Operators and Expressions<br />

Functions, Operators and Expressions<br />

This topic is divided into:<br />

Arithmetic Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109<br />

Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115<br />

Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118<br />

Arithmetic Functions<br />

A set of arithmetic functions may be used in Eldo for the calculation of device parameters,<br />

model parameters, new waves, and so on. These are divided into two groups:<br />

• Functions for use without restriction in any “runtime” expression, see Table 4-2.<br />

• Functions for use only in .EXTRACT, .DEFWAVE or .SETSOA, see Table 4-3.<br />

Table 4-2. Arithmetic Functions and Operators<br />

Function<br />

Returns<br />

ABS(val)<br />

Absolute value of val: |val|<br />

ACOS(val)<br />

Arc cosine of val<br />

ACOSH(val)<br />

Arc hyperbolic cosine of val<br />

ASIN(val)<br />

Arc sine of val<br />

ASINH(val)<br />

Arc hyperbolic sine of val<br />

ATAN(val)<br />

Arc tangent of val<br />

ATANH(val)<br />

Arc hyperbolic tangent of val<br />

BITOF(a, b) Returns “1” if bit b of the integer value of parameter a is a “1”.<br />

Returns “0” if bit b of the integer value of parameter a is a<br />

“0”.Returns “0” if bit b ≥ 32.<br />

CEIL(val)<br />

COS(val)<br />

COSH(val)<br />

DB(val)<br />

Ceiling rounding function, returns the smallest integer value not<br />

less than val. This is known as rounding up. For example ceil(1.25)<br />

returns 2.0 and ceil(-1.25) returns -1.0.<br />

Cosine of val, where val is defined in radians<br />

Hyperbolic cosine of val<br />

value in dBs of val (20×log 10 (val))<br />

DDT(val)<br />

DERIV(val)<br />

EXP(val)<br />

Returns the derivative of val<br />

Returns the derivative of val<br />

Exponent of val<br />

Eldo® User's Manual, 15.3 109

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

Saved successfully!

Ooh no, something went wrong!