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

Extended Simulation Functions<br />

Simulation results can be monitored inside a callback function. But some specific functions<br />

have to be used depending on the type of the data to get. It is also possible to modify some<br />

netlist parameters during the simulation or also to use flow-control functions to avoid using<br />

callbacks which may sometimes be necessary. All these functions begin with the prefix<br />

“_simu”.<br />

Table 18-4. Extended Simulation Functions<br />

Command<br />

Description<br />

Netlist Monitoring These functions are used to monitor the simulation.<br />

Functions<br />

Simulation Flow-Control<br />

Functions<br />

Netlist Modification<br />

Functions<br />

_simu_end<br />

_simu_get<br />

_simu_get_extract<br />

_simu_load<br />

_simu_reload<br />

_simu_run<br />

Using callback functions is not the only mechanism to have<br />

a tight control over simulations. To have a more linear<br />

control over simulations, the simulation function has been<br />

split into some more specific functions.<br />

When using the simulation flow-control functions, it is<br />

possible to modify some netlist parameters between runs<br />

with the _simu_set function.<br />

Exits the current simulation and evaluates the output<br />

expressions.<br />

Returns the current value of the specified voltage or current<br />

at the current simulation time.<br />

Returns the value of the extract having the label label.<br />

This function has similar syntax to the current simulation<br />

function and its purpose is to setup the simulation<br />

environment. It will create the simulation file dir/file.cir and<br />

return a result structure (as the simulation command): as<br />

usual, its simu_status attribute is set to 0 if no syntax error<br />

was found during the netlist processing. This is the first<br />

command to be executed before any other advanced<br />

simulation function. No other flow-control function can be<br />

run if this function has not successfully executed.<br />

Reloads the file generated by the last call to _simu_load. If<br />

the netlist was modified using the simu_set function, then<br />

these changes are erased.<br />

Runs the current simulation once the simulation<br />

environment has been set. Its result is the same as the<br />

simulation function.<br />

1024<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!