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

Monte Carlo Basic Features<br />

* Example of Monte Carlo analysis with a swept parameter.<br />

* Extract the leakage current of a BSIM4 device. The manufacturing<br />

* process introduces statistical variation in the threshold voltage.<br />

.MODEL N NMOS LEVEL=60 VTH0=250m DEV/GAUSS=5%<br />

M1 D G 0 0 N W=1u L=65n<br />

VD D 0 2<br />

VG G 0 PVG<br />

.DC<br />

.EXTRACT DC LABEL=ID ID(M1)<br />

* Specify Monte Carlo analysis and request statistical outputs.<br />

.MC 1000 NBINS=60 DATAFLOW=1 PRINT_TEST_AP=1 PRINT_MOMENTS=1<br />

* Sweep the voltage applied to the gate from 2V to 0V.<br />

.PARAM PVG=2<br />

.STEP PARAM PVG LIST 2 1 0.4 0.35 0.3 0.1 0<br />

.END<br />

In this example, Eldo will perform 7 separate Monte Carlo analyses and generate files<br />

example_1.mcm, example_2.mcm, …, example_7.mcm containing statistical information about<br />

the output measure ID (the leakage current of M1) for PVG=2, PVG=1, …, PVG=0<br />

respectively. In particular, each .mcm file contains an estimate of the skewness of the<br />

distribution of ID:<br />

PVG Output File Skewness of ID<br />

2 example_1.mcm 6.26×10 -2<br />

1 example_2.mcm 5.86×10 -2<br />

0.4 example_3.mcm 2.98×10 -2<br />

0.35 example_4.mcm 3.31×10 -1<br />

0.3 example_5.mcm 7.30×10 -1<br />

0.1 example_6.mcm 1.40<br />

0 example_7.mcm 1.42<br />

The distribution of ID is almost normal for PVG=2 to PVG=0.4, but as PVG approaches 0 the<br />

distribution of ID becomes log-normal.<br />

In addition to affecting the input and output sample distributions, the values of circuit<br />

parameters and the circuit’s configuration can affect the convergence rate of the Monte Carlo<br />

algorithm. This means that the quality of the statistical results may vary as the circuit varies. In<br />

the above example, the coefficient of variation for ID (at 95%) ranges from 0.408% to 2.756%<br />

as PVG is swept from 2 to 0. By increasing the number of runs per Monte Carlo analysis to<br />

10000, this range can be improved to 0.013%–0.888%. However, the disadvantage of uniformly<br />

420<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!