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.

Running Parametric Analyses<br />

.STEP Sweeping Parameters Examples<br />

.STEP E(M1,l) 3u 4u 1u<br />

Length of Element M1 varies from 3μm to 4μm in steps of 1μm.<br />

.STEP M(NMOS,VT0) 1 3 1<br />

Parameter VT0 of model NMOS varies from 1 to 3 in steps of 1.<br />

.STEP EM(M2,VT0) 1 4 1<br />

A private model will be assigned to M2. The VT0 of model attached to M2 will vary from 1 to 4<br />

in steps of 1; the VTO of model attached to M1 will remain unchanged.<br />

The following example shows a parameter vector sweep, with all parameters taking their values<br />

from lists. Eldo will sweep parameters IG1 and LR1 over four simulations. The first simulation<br />

with IG1 at 10u and LR1 at 1000u. The last simulation with IG1 at 100u and LR1 at 100u.<br />

.param IG1=10u LR1=1000u<br />

.step (p(IG1),p(LR1)) LIST (10u, 1000u) (20u, 500u) (50u, 200u)<br />

+ (100u, 100u)<br />

i1 1 0 ig1<br />

r1 1 0 '10e6*lr1'<br />

.plot dc v(1)<br />

.dc<br />

The following example shows how the .STEP command is used to make several Eldo runs, each<br />

of them using a different variant of the libraries, using the keyword LIB(libname):<br />

.LIB mylib TYP<br />

*...<br />

.STEP LIB(mylib) TYP MIN MAX<br />

.END<br />

Three simulations will be performed: one using the variant TYP of mylib, another one using the<br />

variant MIN, and a last one using the variant MAX.<br />

Note<br />

The LIB specification can be used with any other specification.<br />

TYP, MIN, and MAX are not keywords, but are the character strings that can appear as the<br />

second arguments of the .LIB command (.LIB FNAME [LIBTYPE]). Usually, variant names<br />

are TYP, MIN, and MAX, but they can be any string.<br />

.STEP P(P1) 1 2 0.5 LIB(mylib) TYP MIN MAX<br />

Here, Eldo will perform three simulations:<br />

• One with both P1=1.0 and mylib using variant TYP.<br />

• One with both P1=1.5 and mylib using variant MIN.<br />

294<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!