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

Tips for Improving Simulation Performance<br />

Monte Carlo Incremental Approach<br />

The overall Monte Carlo analysis run is made of several batches of simulations. Using an<br />

incremental approach provides gradually an insight into the spread of distribution.<br />

In Eldo, you control the sample size n and optionally, how the sampling is generated. In this<br />

example, 100 simulations are requested by including the following statement in the netlist<br />

description:<br />

* Monte Carlo Analysis<br />

.MC 100 SAVE=mc_file RESTART=mc_file<br />

The additional SAVE/RESTART arguments are used to save the random sampling and the<br />

simulated characteristics (see “Tips for Improving Simulation Performance” on page 1259).<br />

These quantities can be used in subsequent Monte Carlo experiments. SAMPLING=LHS is<br />

disabled when RESTART is specified.<br />

Tip<br />

See “.MC” in the Eldo Reference Manual.<br />

Monte Carlo Analysis With a Varying Circuit<br />

When you specify Monte Carlo analysis, Eldo performs the complete Monte Carlo analysis<br />

after each change of the circuit parameters or the circuit’s configuration.<br />

The probability distribution of a random variable may depend on the values of some circuit<br />

parameters. For instance, the temperature of a MOS device affects the device’s threshold<br />

voltage. After each change of the circuit parameters, Eldo recomputes the probability<br />

distributions of the random variables, then performs the specified Monte Carlo analysis using an<br />

appropriate set of input samples.<br />

The probability distribution of a random variable may also depend on the circuit’s<br />

configuration, which you can alter using .ALTER statements. Eldo performs a separate Monte<br />

Carlo analysis for each configuration specified in the netlist, starting with the unmodified<br />

netlist.<br />

The results of each Monte Carlo analysis follow the corresponding change of circuit parameters<br />

or netlist modification in the .chi file. If you requested detailed statistical outputs, the results of<br />

the ith Monte Carlo analysis are also contained in the file _.mcm. The optional<br />

output files _.mci and _.mco contain tables of the input and output<br />

samples for the ith Monte Carlo analysis.<br />

For example, the following netlist specifies Monte Carlo analysis with a sweep of a circuit<br />

parameter PVG through 7 values:<br />

Eldo® User's Manual, 15.3 419

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

Saved successfully!

Ooh no, something went wrong!