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.

Notes<br />

Eldo Netlist Setup<br />

Arithmetic Functions<br />

• Where VAL is defined in the previous tables, it normally means a numeric value, but in<br />

certain cases, the functions may also be applied to waves.<br />

• The MAX and MIN functions are automatically converted into DMAX and DMIN<br />

functions when necessary, for example: R1 1 2 {min(2,1,5)} is equivalent to: R1 1 2<br />

{dmin(2,1,5)} which is also equivalent to: R1 1 2 1<br />

There is no limit to the number of arguments that can be used in MAX, MIN, DMAX<br />

and DMIN arguments.<br />

• If three arguments are specified for MIN (that is, MIN(a,b,c)), this represents the MIN of<br />

waveform a in the time window [b,c]. Use DMIN to return the minimum of a, b and c as<br />

computed at each time step.<br />

• The MIN/MAX/ABS/SGN/SIGN functions, when used in bias-dependent expression<br />

(such as in R(V)), can cause non-convergence due to these operators making the<br />

function non-derivable. Use option MMSMOOTH to make them derivable, to avoid<br />

such problems. Alternatively use the SMMIN, SMMAX, SMABS, SMSGN and<br />

SMSIGN operators.<br />

• DDT(VAL) and IDT(VAL) can only be used on E & G elements, see the corresponding<br />

descriptions for the Voltage Controlled Voltage Source and Voltage Controlled Current<br />

Source. Expressions associated with R/L/C devices do not support DDT/IDT<br />

operators.The DDT operator differs from the DERIV operator in the sense that DDT<br />

utilizes the integration scheme used by Eldo, while the DERIV operator exclusively uses<br />

the Backward-Euler algorithm.<br />

• There can be differences between the DERIV operator of Eldo and the equivalent<br />

operator (DRV) of EZwave. The formula used for the Eldo DERIV operator is<br />

Backward-Euler (that is, deriv(f(t)) = (f(t) - f(t-h))/h) with t being the current time and h<br />

being the time step, however the DRV operator of EZwave uses a more complex<br />

formula based on f(t), f(t-h) and f(t+h). Eldo cannot use the EZwave “post-processor”<br />

formulation, because it requires to know the value at t+h, which is not possible when the<br />

simulator is running (Eldo at time t cannot know the value at t+h), but post-processor<br />

formulation is usually smoother, hence both formulations are used.<br />

• Nested COMPLEX() statements are forbidden, as well as using complex quantities for<br />

the real or imaginary part. Corresponding errors are:<br />

ERROR 3040: Nested complex(,) functions is not allowed.<br />

ERROR 3041: Complex quantities can not be used inside complex(,)<br />

function.<br />

• If CEIL, ROUND, FLOOR cause convergence problems, Eldo will generate a warning<br />

and invite the <strong>user</strong> to specify option NOLTEDISC to bypass LTE checks.<br />

Eldo® User's Manual, 15.3 113

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

Saved successfully!

Ooh no, something went wrong!