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.

Simulator Compatibility<br />

Commands in Compat Mode<br />

r1 1 0 1<br />

r2 2 0 1<br />

.alter 1<br />

r1 1 0 2<br />

.alter 2<br />

r2 2 0 2<br />

The second “alter” simulation will be run with both r1 set to 2 (inheritance from later<br />

number 1), and r2 set to 2. In default Eldo mode without the -compat argument, the<br />

second “alter” simulation will be run with r1 set to 1 (original netlist) and r2 set to 2.<br />

Option COMPAT can be placed anywhere in the netlist; it is not order-dependent.<br />

However, if the netlist contains .ALTER statements, and the option is placed in the<br />

.ALTER block then it will not be taken into account in the nominal run, only the<br />

.ALTER run. Then it will remain active for any further .ALTER runs. For example, if<br />

the netlist contains:<br />

title<br />

netlist<br />

.alter 1<br />

.option compat<br />

.alter 2<br />

*...<br />

.end<br />

v1 1 0 1<br />

r1 1 0 1<br />

.dc<br />

.end<br />

Here, the nominal run will not recognize the COMPAT option, the first .ALTER will,<br />

and the second .ALTER will also. The statements between the last two .END statements,<br />

which correspond to the simulation of yet another circuit, will still treat COMPAT as<br />

active. Once activated, compat cannot be deactivated.<br />

See the “.ALTER command” in the Eldo Reference Manual.<br />

• .DC<br />

When only a DC analysis is specified in compat mode, by default the initial transient<br />

value is used.<br />

For .DC with .OP, a DC sweep is done before any OP calculations. The Eldo default<br />

behavior, and in hybrid compat mode (with .COMPAT/.ENDCOMPAT blocks but<br />

without .OPTION COMPAT), is to perform the OP around the first point of the DC<br />

sweep.<br />

See the “.DC command” in the Eldo Reference Manual.<br />

• .EXTRACT RMS()<br />

In compat mode, this extract returns the root mean square value of a waveform for<br />

transient analysis, computed as:<br />

Eldo® User's Manual, 15.3 169

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

Saved successfully!

Ooh no, something went wrong!