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 />

Extended Simulation Functions<br />

_simu_run<br />

Task function category: Simulation Flow-Control Functions<br />

Runs the current simulation once the simulation environment has been set. Its result is the same<br />

as the simulation function.<br />

Usage<br />

_simu_run(mode="after va1")<br />

_simu_run(mode="until val1")<br />

_simu_run(mode="for val1")<br />

_simu_run(mode="next")<br />

_simu_run(mode="skip")<br />

Arguments<br />

• mode<br />

The mode argument may be set to partially run the simulation: its value is a string specifying<br />

a simulation period or a specific simulation time to reach.<br />

Description<br />

The simu_status field of the result will be set to 0 if no error occurred during the simulation.<br />

Without any parameter, a call to this command will run the simulation completely.<br />

Examples<br />

S/* Asks to go on simulating during 2ns (simulation time). */<br />

_simu_run(mode="for 2n")<br />

/* Asks to go on simulating until the simulation has been computed until<br />

exactly 10ns (simulation time). */<br />

_simu_run(mode="until 10n")<br />

/* Asks to go on simulating until the simulation has been computed until<br />

about 10ns (simulation time). */<br />

_simu_run(mode="after 10n")<br />

If the netlist contains a .STEP command, then one call to _simu_run(mode="next") will run<br />

only one simulation. If the simulation was stopped (for example if a stop condition is met, see<br />

_simu_set_cond), _simu_run(mode="skip") requests the simulator to stop the simulation. It is<br />

then possible to run it again from the beginning (after modifying some parameters for example,<br />

see _simu_set.<br />

Related Topics<br />

_simu_end<br />

_simu_load<br />

_simu_reload<br />

_simu_set_cond<br />

Extended Simulation Functions<br />

Eldo® User's Manual, 15.3 1031

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

Saved successfully!

Ooh no, something went wrong!