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.

Setting Up An Analysis<br />

Saving and Restarting Transient Simulations<br />

.RESTART test.sav file=test_previous.wdb<br />

A new wdb file is created, restart.wdb, which is the concatenation of the previous results<br />

and the current simulation results file.<br />

In this example, Eldo will create the file restart.wdb as usual, but will first copy<br />

test_previous.wdb into restart.wdb before adding new points in the restart.wdb file. To permit<br />

the concatenation of the previous binary output file with the new binary output file, you have to<br />

rename it.<br />

If the file=test_previous.wdb string is omitted from the .RESTART command, then the first<br />

point in the restart.wdb file will correspond to the time at which simulation actually restarts.<br />

Save and Use Example<br />

1. Run a simulation containing the following command to save DC analysis results to file<br />

test.ddt:<br />

.SAVE test.ddt dc<br />

2. Relaunch Eldo with the following command in the netlist<br />

.USE test.ddt ic<br />

This specifies DC operating point values in test.ddt should be read as .IC values<br />

Aborting Simulation and Saving Current State<br />

If a transient simulation run is interrupted by the <strong>user</strong> with a Control-C, Eldo prompts the <strong>user</strong>,<br />

inquiring if the simulation status should be saved. If the <strong>user</strong> answers in the affirmative, the<br />

simulation data is saved in a file named .sav where cirname is the name of the circuit<br />

description file with no extension.<br />

To restart the simulation from this interrupted point, the circuit description file should be<br />

modified to include the command:<br />

.RESTART<br />

The simulation will then be restarted automatically from the time it was interrupted. The .TRAN<br />

command needs to be updated. Options and/or stimuli might be changed as well.<br />

Related Commands<br />

• .SAVE in the Eldo Reference Manual<br />

• .USE in the Eldo Reference Manual<br />

• .LOAD in the Eldo Reference Manual<br />

• .RESTART in the Eldo Reference Manual<br />

222<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!