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.

Examples<br />

Example 19—DC Mismatch Comparison with Monte Carlo Analysis<br />

Example 19—DC Mismatch Comparison with<br />

Monte Carlo Analysis<br />

Netlist file: dcmismatch_contributors.cir<br />

This example shows how to use the DCMISMATCH analysis, and compares its results to an<br />

equivalent Monte Carlo analysis. You can refer to the .chi output file and look for the<br />

DCMISMATCH and Monte Carlo results respectively.<br />

Particularly, from the DCMISMATCH results, devices M1 and M2 are primarily responsible<br />

for the output offset distribution, whereas M17 and M16 have the greatest impact on power<br />

consumption.<br />

These results are confirmed by the fully non-linear .MC sensitivity analysis. You can also refer<br />

to the example dcmismatch_vs_mcsens.cir which shows how to compare the results of the two<br />

analyses using some simple ECL (Eldo Control Language) code.<br />

Summary of Eldo commands used in this example:<br />

• .DCMISMATCH—DC mismatch analysis.<br />

• .MC—Monte Carlo analysis.<br />

• .ALTER—Simulation rerun.<br />

• .EXTRACT—Extract characteristics from the simulator results.<br />

Netlist Explanation<br />

.EXTRACT DC LABEL=offset v(out)<br />

The above line specifies to extract the output offset voltage.<br />

.EXTRACT DC LABEL=power -i(vdd)*v(vdd)<br />

The above line specifies to extract the DC power consumption.<br />

.alter<br />

.DCMISMATCH nsigma=1<br />

.extract dc label= dcm_offset dcm(offset)<br />

.extract dc label= dcm_power dcm(power)<br />

The above lines rerun the same simulation using a DC mismatch analysis.<br />

.alter<br />

.mc 10000<br />

.extract mc label=mc_offset mcstd(offset)<br />

.extract mc label=mc_power mcstd(power)<br />

The above lines rerun the same simulation using a Monte Carlo analysis. The Monte Carlo<br />

sensitivity is run automatically.<br />

1316<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!