10.06.2016 Views

eldo_user

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Eldo Control Language<br />

Defining and Running Simulations<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 />

The output is:<br />

Simulation succeeded:<br />

With v=5.0000e+00V, r=1.0000e+04Ohm, c=1.0000e-03F, temp=27.0000C<br />

uc reaches 4V at 16.0921s (.extract)<br />

uc reaches 4V at 16.0921s (.plot + xval)<br />

Related Topics<br />

Defining and Running Simulations<br />

Vector Simulation Results<br />

Simulation data results can be returned as vectors; there are two primary cases when this can<br />

happen:<br />

• When the keywords vect or catvect have been specified on an .EXTRACT or a .MEAS<br />

command.<br />

• When the netlist to simulate contains an .ALTER command.<br />

The first case is obvious: when the result of an .EXTRACT or a .MEAS command is an array of<br />

values, and this result is assigned to a task local variable, then this variable is a vector.<br />

Examples<br />

Example 1 (.MEAS vect)<br />

This example is similar to the previous one except that the input voltage is a rectangular pulse<br />

and that the task prints all time values when the voltage across the capacitor reaches 4V,<br />

calculated using a .MEAS vect command.<br />

848<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!