10.06.2016 Views

eldo_user

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Monte Carlo Analysis<br />

Parameter Naming Conventions<br />

.PARAM VARW=AUNIF(0U,0.05U)<br />

.PARAM VARL=AUNIF(0U,0.05U)<br />

.PARAM BIAS=1M<br />

I1 0 1 BIAS<br />

I2 0 2 BIAS<br />

R1 1 0 RESISTOR<br />

R2 2 0 RESISTOR<br />

.MODEL RESISTOR R LEVEL=3 W=3U L=3U RSH=100 DW=VARW DLR=VARL<br />

In this case, Eldo will create the variables PM(VARW,RESISTOR,DW) and<br />

PM(VARL,RESISTOR,DL).<br />

Implicit Rules of Inheritance<br />

It is possible to define global and local variations by using implicit rules of inheritance.<br />

Consider the following netlist:<br />

.PARAM VAR=AUNIF(3U,0.05U)<br />

.PARAM VARW=AUNIF(VAR,0.01U)<br />

.PARAM BIAS=1M<br />

I1 0 1 BIAS<br />

I2 0 2 BIAS<br />

R1 1 0 RESISTOR W=VARW L=3U<br />

R2 2 0 RESISTOR W=VARW L=3U<br />

.MODEL RESISTOR R LEVEL=3 W=3U L=3U RSH=100<br />

Where we have VARW=AUNIF(VAR,0.05U), a reference to the statistical parameter VAR is<br />

used in the definition of the distribution associated to VARW. In other words, VARW is the<br />

sum VAR + AUNIF(0,0.01U); the distribution of VARW is the sum of two random variables.<br />

In this example, there are three random variables:<br />

• PP(VAR,VARW) the random variable with global variations.<br />

• PE(VARW,R1,W) and PE(VARW,R2,W) the local random variables.<br />

The VARW parameter does not inherit the DEV variations of VAR. During the Monte Carlo<br />

sampling, a value for PP(VAR,VARW) is drawn from the uniform distribution<br />

AUNIF(3U,0.05U) and two independent values PE(VARW,R1,W) and PE(VARW,R2,W) are<br />

obtained from the uniform distribution AUNIF(0,0.01U). The final values of the width W in R1<br />

and R2 are therefore computed by summing these random values to PP(VAR,VARW).<br />

Note that this behavior cannot be obtained with following statements:<br />

.PARAM VAR1=AUNIF(0,0.05U)<br />

.PARAM VAR2=AUNIF(0,0.01U)<br />

.PARAM VARW=’3U + VAR1 + VAR2’<br />

540<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!