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

Simulation Dynamic Control<br />

Its value must be a number and stands for the time interval (in seconds) at which the<br />

callback will be executed. For example, setting elapsed_s_period=60 means to execute<br />

the callback function every 60 seconds of real time.<br />

• elapsed_m_period<br />

Same as elapsed_s_period but the number value stands for minutes.<br />

• elapsed_h_period<br />

Same as elapsed_s_period but the number value stands for hours.<br />

• condition<br />

Example:<br />

Contrary to the previous arguments, this argument does not define a periodic condition.<br />

Its value must be a string, standing for the condition that has to be met before executing<br />

the callback. Refer to the function _simu_set_cond to know which syntax is supported to<br />

specify this condition.<br />

Here is a simple example for displaying a simulation progress on the standard output every time<br />

10% of the simulation has been computed.<br />

See “Testbenches” on page 809, “Tasks” on page 814, “Variables” on page 821, “Flow Control<br />

Statements” on page 835, “Defining and Running Simulations” on page 841, and the fprint<br />

function for more information on the concepts used in the example.<br />

Eldo® User's Manual, 15.3 1015

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

Saved successfully!

Ooh no, something went wrong!