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.

Monte Carlo Analysis<br />

Tolerance Setting Using DEV, DEVX or LOT<br />

.MODEL N NMOS VTO=0.6 TOX=1.5e-7<br />

.MCMOD N VTO DEV=0.1<br />

DEV Variation<br />

DEV variation specified with .MODEL statements (or .MCMOD) can refer to dimensions of the<br />

current object directly, without any need to encapsulate models into subcircuits. The syntax for<br />

accessing an instance parameter is for example:<br />

E(*,)<br />

The * character is used here to refer to the current instance.<br />

Example<br />

.MODEL M nmos VTH=1 DEV={sqrt(E(*,l)*(E(*,W))*1.0e-5}<br />

M1 p1 p2 p3 p4 m w=10u l = 3u<br />

The two lines above are equivalent to the five below:<br />

.SUBCKT foo d g s b param: w=1u l=1u<br />

.model m nmos VTH=1 DEV={sqrt(l*w)*1.0e-5}<br />

M1 d g s b m w=w l=l<br />

.ENDS<br />

X1 p1 p2 p3 p4 foo w=10u l=3u<br />

A full example to illustrate this:<br />

* test DEVX<br />

M1 D1 G1 0 B mos1 w=w l=l as=0 ad=0 ps=0 pd=0 m=1<br />

M2 D2 G2 0 B mos1 w=w l=l as=0 ad=0 ps=0 pd=0 m=1<br />

.MODEL mos1 nmos<br />

+ level=53 version=3.24<br />

+ u0=300 tox=5n<br />

+ vth0=1 DEV={sqrt(E(*,l)*(E(*,w)))*1.0e-05}<br />

.param l=5e-6 w=10e-6<br />

.op<br />

.MC 10<br />

.option display_carlo EXTMKSA<br />

Tolerance Setting Using DEV, DEVX or LOT<br />

The size of the tolerance appears in a .MODEL command after the parameter keyword and<br />

value. The tolerance may be specified either as a percentage or an absolute quantity. To denote<br />

a percentage, the % sign must be used. Parametric expressions are allowed when specifying<br />

DEV or LOT.<br />

The DEV tolerance parameter causes devices which use the same .MODEL statement to vary<br />

independently of each other, as illustrated in the following example:<br />

c1 4 0 cmod 10p<br />

c2 6 8 cmod 10p<br />

.model cmod cap dev=10%<br />

Eldo® User's Manual, 15.3 447

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

Saved successfully!

Ooh no, something went wrong!