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.

Eldo Control Language<br />

Defining and Running Simulations<br />

This task will generate the simulation files in different directories (simu1, simu2, simu3, and<br />

simu4).<br />

All these generated files are extremely useful to debug simulations. Once the debug phase has<br />

been completed and the simulations behave as expected, it is possible to force Eldo to<br />

automatically remove these generated files. Refer to the section “Temporary Files” in<br />

“Simulation” on page 1114 for more information.<br />

Related Topics<br />

Defining and Running Simulations<br />

Collecting Simulation Results<br />

Once a simulation has successfully completed, the following simulation data can be saved into<br />

task local variables, from where it will be available for post-processing:<br />

• Values of parameters.<br />

• .EXTRACT and .MEAS results if they have been given a label (for example:<br />

.EXTRACT tran label=thresh4 xthresh(v(2,0), 4)).<br />

• Waveforms if they have been given a name (for example: .PLOT tran u20_tran=v(2,0)).<br />

These data are managed as output arguments of the simulation command, and their values can<br />

be obtained by requesting them using their names or labels prefixed with a “@” character.<br />

Example<br />

The following testbench, tb_rc, instantiates an RC circuit, plots the voltage across the capacitor<br />

and also extracts the time value when this voltage reaches 4V. The task t_simu runs the<br />

simulation of this circuit and prints the time value when the voltage across the capacitor reaches<br />

4V, calculated using two different methods.<br />

846<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!