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

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

Examples Using ECL as an Alternative to<br />

Standard Eldo Commands<br />

The Eldo Control Language can be used as a powerful custom alternative to standard Eldo<br />

commands. The examples here show the steps required to create ECL alternatives.<br />

• .STEP Alternative<br />

• .EXTRACT Alternative<br />

• .PRINTFILE Alternative #1<br />

• .PRINTFILE Alternative #2<br />

• .OPTIMIZE Alternative<br />

.STEP Alternative<br />

Netlist directory: 25-step_alternative<br />

The following example shows how the step loops available inside ECL can be used as an<br />

alternative to the regular .STEP command in Eldo.<br />

It uses an ECL step loop inside a testbench instead of a .STEP param statement. The testbench<br />

instantiates an RC circuit and steps the resistor value from 1 to 10 with increments of 1. This is<br />

only a simple example, highlighting the mechanism used, and can be extended to more complex<br />

simulation sequences possible only with ECL.<br />

Original Netlist<br />

* ECL .STEP alternative<br />

v1 1 0 3<br />

r1 1 2 p<br />

c1 2 0 1u ic=0<br />

* name needed for ECL<br />

.plot tran res_wave = v(2)<br />

.tran 0.1 1 uic<br />

.param p = 1<br />

.step param p 1k 200k 1k<br />

.end<br />

Steps to Create an ECL Alternative<br />

Follow the steps below to replace the regular .STEP by an ECL step loop:<br />

1. Parametrize the netlist by creating a testbench:<br />

Eldo® User's Manual, 15.3 1123

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

Saved successfully!

Ooh no, something went wrong!