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.

Five independent random variables will be created in the sampling:<br />

• The variable PP(VAR,GLOBVAR) with global variations.<br />

Monte Carlo Analysis<br />

Parameter Naming Conventions<br />

• The two variables PE(LOCVAR,R1,W) and PE(LOCVAR,R2,W) which come from the<br />

statement LOCVAR=AUNIF(0U,0.02U).<br />

• The two variables PE(VAR,R1,L) and PE(VAR,R2,L).<br />

Macro PM(.)<br />

Consider the following statements:<br />

.PARAM VAR=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=VAR DLR=VAR<br />

This example is another application of the previous implicit rule on variations. The parameter<br />

VAR has DEV variations, and it is used two times in the .MODEL definition. Two random<br />

variables are associated to this model, but these variables are global for the circuit, because the<br />

model has a global scope. The resistors R1 and R2 will share the same random variables.<br />

The macro PM(.) was introduced for referencing these random variables. In this example, we<br />

have two independent variables: PM(VAR,RESISTOR,DW) and PM(VAR,RESISTOR,DL).<br />

The syntax is defined as follows:<br />

PM(parameter_name, model_name, model_parameter)<br />

The random variable that affects the model parameter model_parameter associated to the model<br />

model_name is such that its distribution is specified in the definition of the parameter<br />

parameter_name.<br />

It is important to note that the variables PM(VAR,RESISTOR,DW) and<br />

PM(VAR,RESISTOR,DL) have the same distribution. The previous lines are strictly equivalent<br />

to the following (from the mathematical view):<br />

Eldo® User's Manual, 15.3 539

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

Saved successfully!

Ooh no, something went wrong!