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.

Introduction to Eldo<br />

Getting Started With the Eldo Simulation Flow<br />

* Subcircuit calls<br />

x1 1 2 6 inv<br />

x2 2 3 6 inv<br />

x3 3 4 6 inv<br />

cload 4 0 1p<br />

* Electrical source definitions<br />

vdd 6 0 5v<br />

vin 1 0 pulse(0 5 10e-9 5e-9 5e-9 30e-9 50e-9)<br />

* Simulation options & commands<br />

.tran 0.5n 100n uic<br />

.ic v(1)=0<br />

.plot tran v(1) v(2) v(3) v(4)<br />

.print tran v(1) v(2) v(3) v(4)<br />

.option eps=0.5e-3 tnom=50 list node<br />

.end<br />

Prerequisites<br />

• The netlist file must include the following:<br />

o<br />

o<br />

o<br />

o<br />

Circuit connectivity, that is, a netlist.<br />

Model parameter values defining the specific device models to be used.<br />

Electrical stimuli (sources).<br />

Simulation options and commands.<br />

Input and output formats are compatible with Berkeley SPICE 2G6, however Eldo<br />

provides additional features not implemented in SPICE. See “Eldo Netlist Setup” on<br />

page 95.<br />

Procedure<br />

1. Setup a netlist with the circuit description and simulation options and commands. You<br />

may generate the .cir control file for Eldo using a basic text editor, or alternatively a<br />

schematic editor capable of generating SPICE-like format.<br />

See “Eldo Netlist Setup” on page 95.<br />

2. Run Eldo on the netlist to simulate your design. To run a simulation from the command<br />

line use the command:<br />

<strong>eldo</strong> cir_file_name.cir<br />

For a full list of options see “Running Eldo” on page 41.<br />

3. Analyze the results of your simulation during or after simulation.<br />

After the simulation has complete, Eldo writes simulator information to the .chi file.<br />

This file contains details of the simulation, including any warning or error messages<br />

which may have been encountered during simulation. A binary .wdb file is also<br />

Eldo® User's Manual, 15.3 33

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

Saved successfully!

Ooh no, something went wrong!