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.

Running Parametric Analyses<br />

Altering Netlist Data For Simulation Reruns<br />

Altering Netlist Data For Simulation Reruns<br />

You can rerun simulations with a modified netlist using the .ALTER command. An alter block<br />

consists of Eldo element, subcircuit, command, and comment statements. The alter block ends<br />

with the next .ALTER or .END command. All Eldo statements in an alter block are backsubstituted<br />

in the original netlist except for some commands which are always added to the<br />

netlist with no substitution attempted. The circuit_name.chi ASCII log file contains a trace of<br />

all modifications made.<br />

The way Eldo processes a netlist with .ALTER blocks is as follows:<br />

1. Eldo reads the netlist up to the first .ALTER statement and performs the analyses. This<br />

is the first simulation run.<br />

2. Eldo then reads the block of statements between the first .ALTER and .END (or another<br />

.ALTER) statements.<br />

3. Eldo modifies the netlist using these alter block statements.<br />

4. Eldo reruns the simulation with the modified netlist.<br />

For multiple .ALTER blocks, the initial netlist is always as the reference to be altered, not the<br />

result of the previous .ALTER command. If there is an error in a .ALTER block, it will be<br />

skipped and the next .ALTER block will be used.<br />

To run a specific .ALTER block without first running the main netlist, invoke Eldo with the<br />

-alter argument together with the corresponding name or index of the alter block required.<br />

Specifying an index of 0 means the nominal run without any alters.<br />

Multiple indexes can be specified without separators. When Eldo identifies -alter, it interprets<br />

the following arguments as indexes until another argument is found (beginning with “-”). For<br />

example:<br />

<strong>eldo</strong> foo.cir -alter 2 5 10 11 12 13 20 21 22<br />

Tip<br />

See the “.ALTER” command and the “-alter” command-line argument in the Eldo<br />

Reference Manual.<br />

Removing .EXTRACT Statements from a Simulation Rerun. . . . . . . . . . . . . . . . . . . . . 299<br />

Controlling Alter Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299<br />

.ALTER Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300<br />

298<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!