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.

Specifying Simulation Output<br />

.EXTRACT Command<br />

.EXTRACT Command<br />

The most frequent usage is for simple extraction of a waveform value, with the following<br />

general form:<br />

Syntax<br />

.EXTRACT function(wave, condition, [min, max])<br />

Parameters<br />

• function<br />

User supplied function that can be any of the built-in functions, or a <strong>user</strong>-defined function.<br />

Some built-in functions:<br />

o<br />

o<br />

o<br />

Yval returns the value of an abscissa (Y-coordinate) corresponding to a given<br />

ordinate (X-value).<br />

Xyvalue returns the ordinate (X-Value) for which the abscissa (Y-value) satisfies a<br />

given condition.<br />

Xup gives the value of X when Y crosses a threshold in the upward direction, and so<br />

on for other functions.<br />

• wave<br />

Name of the waveform to which the function is applied. The wave can be any usual Eldo<br />

output, or a <strong>user</strong>-defined quantity supplied as a function of Eldo outputs.<br />

• condition<br />

Specifies a condition to be satisfied for the application of the .EXTRACT command. It can<br />

be expressed using any of the Eldo operators, including any legal mathematical expression.<br />

• min, max<br />

A pair of values defining the start and end of the range over which the .EXTRACT<br />

command applies. Specifying a min point higher than the max point is allowed, the analysis<br />

will proceed backwards from max to min. This can be useful in tracking the last occurrence<br />

of a given event.<br />

If MIN and MAX are not specified in a function call, information is returned when the<br />

CONDITION is true for the first time.<br />

The x-axis values MIN and MAX may be replaced by the keywords START and END to<br />

specify the beginning and end of the simulation interval respectively. The x-axis value MIN<br />

may be made greater than the MAX value. This causes Eldo to look backwards when<br />

CONDITION is true for the first time. This is useful for extracting waveform settling time<br />

data.<br />

An alternative to the .EXTRACT command is the .MEAS command, which provides<br />

compatibility with the HSPICE simulator.<br />

322<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!