10.06.2016 Views

eldo_user

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Function<br />

PWL_LIN(xvalue, interp, x1,<br />

y1, ... xn, yn)<br />

ROUND(val)<br />

SELECT(table_name, xvalue<br />

[, LINEAR |<br />

SAMPLE_HOLD |SPLINE])<br />

SGN(val)<br />

SIGMA()<br />

SIGN(val)<br />

SIGN(val1, val2)<br />

SIN(val)<br />

SINH(val)<br />

SMABS(val, eps)<br />

SMMAX(a, b, eps)<br />

SMMIN(a, b, eps)<br />

SMSGN(val, eps)<br />

SMSIGN(val, eps)<br />

SQRT(val)<br />

STRMATCH(str, pat)<br />

STRCMP(str1,str2)<br />

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

Returns<br />

Eldo Netlist Setup<br />

Arithmetic Functions<br />

Generates an interpolated output value from an input value xvalue,<br />

provided as the first argument, using a PWL table described as a<br />

series of x, y points passed as arguments to the function. interp=0|1<br />

specifies whether the y value is interpolated linearly (1) or not (0).<br />

xn and yn are used to calculate the equivalent output value. This<br />

function linearly extrapolates the first value using the first two<br />

points of the function if the x value < x1. The last value will also be<br />

linearly extrapolated using the last two points if the x value > xn.<br />

Rounded, to the nearest integer, value of val<br />

Returns a value interpolated from an array of (x,y) values<br />

according to a given x value. table_name is the name of an array of<br />

(x,y) values defined with a .TABLE command, xvalue is the x<br />

value for which y is requested, LINEAR | SAMPLE_HOLD |<br />

SPLINE indicates the interpolation method to use to calculate the y<br />

value. The default is SAMPLE_HOLD.<br />

Returns the signum of val: +1 if val>0, 0 if val=0, -1 if val=0, -1 if val

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

Saved successfully!

Ooh no, something went wrong!