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

Extract Examples<br />

This section lists a number of examples using the .EXTRACT command:<br />

Example Extracting OPMODE, POW, and POWER Values . . . . . . . . . . . . . . . . . . . . . 329<br />

Example Extracting Parameter Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330<br />

Example Extracting Model Parameter Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331<br />

Example Extracting Element Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331<br />

Example Extracting Transient Analysis Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332<br />

Example of Condition Function Reusing Extraction Results . . . . . . . . . . . . . . . . . . . . . 332<br />

Example Combining Sweep Extract and .ALTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333<br />

Extracting Compression Point Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334<br />

Example Extracting OPMODE, POW, and POWER Values<br />

This example focuses on the OPMODE, POW, and POWER extract functions in DC analysis<br />

mode.<br />

Prerequisites<br />

• This example uses the extract_overshoot_opamp.cir netlist in $MGC_AMS_HOME/<br />

examples/<strong>eldo</strong>/<br />

Procedure<br />

1. Open the extract_overshoot_opamp.cir netlist in your preferred text editor, then add<br />

these extract commands to the netlist, then save it:<br />

.extract POW(XA3)<br />

.extract POWER<br />

.extract OPMODE(XA2.M*)<br />

2. Run the simulation:<br />

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

3. View the extract results in the standard output or open the .chi file.<br />

Results<br />

• The first extract is a measure of the DC power absorbed by instance XA3.<br />

• The second extract is a measure of the total DC power.<br />

• The third extract measures the operating mode of all transistors inside XA2.<br />

Output listing:<br />

Eldo® User's Manual, 15.3 329

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

Saved successfully!

Ooh no, something went wrong!