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 />

Parameter Naming Conventions<br />

Macro PP(.)<br />

In the following netlist, a new parameter GLOBVAR is introduced, and the instance parameter,<br />

W, of each resistor is associated to the GLOBVAR variable:<br />

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

.PARAM GLOBVAR=VAR<br />

.PARAM BIAS=1M<br />

I1 0 1 BIAS<br />

I2 0 2 BIAS<br />

R1 1 0 RESISTOR W=GLOBVAR L=VAR<br />

R2 2 0 RESISTOR W=GLOBVAR L=VAR<br />

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

The GLOBVAR parameter will have implicit LOT variations. Multiple references to<br />

GLOBVAR do not create multiple random variables. The parameter variations are defined<br />

globally; this is an artifact of the syntax that enables circuit parameters to be specified with<br />

global variations.<br />

For Eldo, the GLOBVAR parameter does not inherit the DEV variations of the VAR parameter,<br />

and only one random variable will be created in the Monte Carlo sampling. This should be<br />

avoided as much as possible in the netlist, and instead explicit specifications with the DEV/LOT<br />

keywords should be used.<br />

The random variable associated to this parameter GLOBVAR is named with the macro PP(.)<br />

according to this syntax:<br />

PP(parameter1_name, parameter2_name)<br />

The random variable that affects the parameter parameter2_name such that its distribution is<br />

specified in the definition of the parameter parameter1_name.<br />

Example of Macro PP(.) and PE(.) Usage<br />

Consider the statements:<br />

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

.PARAM GLOBVAR=VAR<br />

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

.PARAM BIAS=1M<br />

I1 0 1 BIAS<br />

I2 0 2 BIAS<br />

R1 1 0 RESISTOR W=’GLOBVAR+LOCVAR’ L=VAR<br />

R2 2 0 RESISTOR W=’GLOBVAR+LOCVAR’ L=VAR<br />

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

538<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!