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

.EXTRACT Alternative<br />

• (Used in the example.) Specify explicitly the waveforms you want in the main wdb file<br />

(by using the “@out” argument). Do this by giving a name to waveforms (res_wave<br />

above) and then acquire them for each simulation.<br />

As a result, inside the main wdb file, there will be 200 waveforms.<br />

Parallel Version<br />

The step loop in the previous example is sequential: simulations are performed one after the<br />

other. It is possible to run these simulations in parallel when using the parallel version of the<br />

step loop by replacing the keywords “step” and “endstep” with “para_step” and<br />

“end_para_step” accordingly. The parallel loops are also more restrictive than the sequential<br />

loops (ECL will output errors to make sure the parallel code does not cause any concurrency<br />

issues). It is advised to only run simulations in parallel and store their results inside arrays, and<br />

to perform any post-processing computation outside the parallel loop, in a sequential loop.<br />

The full example is located in $MGC_AMS_HOME/examples/ecl/25-step_alternative/<br />

step_alternative_para.cir.<br />

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

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

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

Tip<br />

See “.STEP” in the Eldo Reference Manual.<br />

Related Topics<br />

.EXTRACT Alternative<br />

Examples Using ECL as an Alternative to Standard Eldo Commands<br />

.EXTRACT Alternative<br />

Netlist directory: 26-extract_alternative<br />

The following example shows how the ECL can be used as an alternative to the regular<br />

.EXTRACT commands in Eldo to print results in a custom format.<br />

This example uses the same original netlist as used in the .STEP Alternative. Add a .EXTRACT<br />

command to the previous netlist (inside the testbench) as follows:<br />

* name needed for ECL<br />

.extract tran label=res_extract xthres(v(2), 1.5)<br />

The default display without any additional ECL custom formatting is:<br />

Eldo® User's Manual, 15.3 1125

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

Saved successfully!

Ooh no, something went wrong!