This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
soft:cadence:monte_carlo:start [2010/05/12 11:02] dominik.przyborowski |
soft:cadence:monte_carlo:start [2019/03/08 14:08] (current) |
||
---|---|---|---|
Line 31: | Line 31: | ||
Finally run the simulations (green button on **run** toolbar). | Finally run the simulations (green button on **run** toolbar). | ||
- | Gauss distibution requiere over 30 samples. So **number of runs** should be higher than 30. To see all results, change ** save data between | ||
\\ \\ | \\ \\ | ||
- | **Remark** All simulations type (dc, ac, etc) and outputs are set on **Data View** in **Tests** branch. | ||
+ | ** Remark ** All simulations type (dc, ac, etc) and outputs are set on **Data View** in **Tests** branch. | ||
+ | |||
+ | ===== Phase Margin, GBW and open loop gain ===== | ||
+ | Due to lack of corelations between instances on test bench, it is not possible to check above parameters in the standard AC simulations on replica circuits. \\ | ||
+ | The solution is to run MC on //stb// analysis and use following expressions to obtain histograms of DC open loop gain, phase margin and gain-bandwidth product: \\ | ||
+ | - DC Open loop gain: <code>dB20(value(getData("loopGain" ?result "stb") 0))</code> | ||
+ | - Phase Margin: <code>getData("/phaseMargin" ?result "stb_margin")</code> | ||
+ | - GainBandWidth: <code>getData("/phaseMarginFreq" ?result "stb_margin")</code> |