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.

Specifying Simulation Output<br />

Plot and Print Quantities<br />

Tip<br />

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

Plot and Print Quantities<br />

Plotting and printing commands can be specified as extract commands. The plot and print<br />

quantities are generic, so the same syntax applies when specifying these in .EXTRACT<br />

statements. For example the following command plots the drain current of a MOSFET model:<br />

.plot DC ID(XA2.M1)<br />

This can also be specified as an extract as follows:<br />

.extract DC ID(XA2.M1)<br />

LVnn (Element) syntax is used to obtain <strong>user</strong>-input parameters, the following example returns<br />

the effective channel width:<br />

.extract DC LV2(M1)<br />

LXnn (Element) is used to obtain computed values such as charges, capacitances and<br />

derivatives, the following example returns the Drain-Source voltage (VDS):<br />

.extract DC LX3(M1)<br />

When extraction statements are combined with parameter sweeping statements (for example<br />

.STEP) Eldo automatically creates waveforms showing the extraction results versus the swept<br />

parameter. For example, you may extract the width of an output pulse from a transient<br />

simulation and sweep the power supply level, in which case Eldo will automatically create a<br />

waveform showing the width of the pulse versus the power supply level. Similarly, if<br />

extractions and .ALTER statements are combined, Eldo will automatically create waveforms<br />

showing the extraction results versus the index of the .ALTER runs. In this case, the X axis will<br />

contain 1, 2, 3, and so on. The initial display in the viewer can also be prepared using .PLOT<br />

commands (see the .PLOT EXTRACT... description). For example:<br />

.EXTRACT TRAN label=VMAX MAX(V(out))<br />

.PARAM powersupply=1.2<br />

VDD VDD 0 'powersupply'<br />

.STEP PARAM powersupply list 1.2V 1.3V 1.4V 1.6 2V<br />

.PLOT EXTRACT meas(VMAX) ! this will create a waveform<br />

* showing VMAX(powersupply)<br />

By default, using the .wdb format, the .EXTRACT waveforms are saved inside the EXT folder<br />

in the main .wdb file. Specify option EXTFILE to generate a .ext.wdb file with only the<br />

extraction results. The .ext.wdb file will not always be created as it depends on the type of<br />

simulation and the specification of the .EXTRACT command.<br />

Eldo® User's Manual, 15.3 323

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

Saved successfully!

Ooh no, something went wrong!