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.

3. Right-click on the sweep parameter name, and select “Set as X axis.”<br />

Related Topics<br />

Extracting Information<br />

Extract Examples<br />

Specifying Simulation Output<br />

Extract Examples<br />

Example Extracting Model Parameter Values<br />

This example focuses on the MODPAR (MODel PARameter) extract function in DC analysis<br />

mode. MODPAR is a predefined function returning the value of a model parameter. This<br />

function is useful to extract a parameter value of a model defined inside a subcircuit.<br />

Run Eldo on the netlist shown below:<br />

.subckt mysub d g s b p1=0.2<br />

.model mymod NMOS<br />

+VT0=1.2 PHI=0.6<br />

M1 d g s b model=mymod w=1u l=1u<br />

.ends<br />

X1 d g 0 0 mysub p1=0.1<br />

X2 d g 0 0 mysub p1=0.3<br />

Vd d 0 dc 1<br />

Vg g 0 dc 1<br />

.op<br />

.extract dc label=vto modpar(mysub.mymod,vt0)<br />

.extract dc label=phi modpar(mysub.mymod,phi)<br />

.end<br />

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

VT0 = 1.2000E+00<br />

PHI = 6.0000E-01<br />

Tip<br />

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

Related Topics<br />

Extracting Information<br />

Extract Examples<br />

Example Extracting Element Values<br />

This example focuses on the EVAL (Element VALue) extract function in DC analysis mode.<br />

EVAL is a predefined function returning the value of the requested parameter for the circuit<br />

element name.<br />

Eldo® User's Manual, 15.3 331

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

Saved successfully!

Ooh no, something went wrong!