• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. How to retrieve an output from every Monte Carlo iterat...

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 125
  • Views 18082
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to retrieve an output from every Monte Carlo iteration

syafiq
syafiq over 10 years ago

Hello,

I have the results from 100 iterations of Monte Carlo simulation. In each of the iteration, I need to find the value of voltage at a time using 'value' function.

However, to do it manually for 100 iterations, really tedious and wasting a lot of time. Imagine that I need to rerun my Monte Carlo simulation, and redo the extraction of voltage values manually?

I hope there is a better way to do this. But I couldn't find the right function to read the expression and give me the value of voltage for every iteration.

Hope somebody who has an experience, pls share.

Thanks

Syafiq

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    I wrote a lengthy answer to this earlier, but it seems to have vanished, so here goes again...

    Syafiq,

    This is something you can do using built-in facilities of the tool - no need to use as complex an approach as Shawn is suggesting. Certainly doesn't need any scripting to do this.

    In ADE XL you can set up an output expression for a test, such as value(VT("/out") 100n) and then that scalar calculation will be performed at each point in the monte carlo. Once that is done, you can then plot a histogram of the distribution, or you can switch to the Detail or Detail Transpose view of the results (rather than the default Yield view) and see the values for each iteration in the monte carlo. You can plot these scalar results, or you can export them to a CSV file, or using the little histogram icon you can print values per point and do many other operations.

    If you turn on saving of family data (use the little cog icon next to the run mode selector - so where you have "Monte Carlo Sampling" rather than "Single Run Sweeps and Corners"), you can also add new output expressions after the simulation has completed, and then use the Re-evaluate icon in the Results pane to calculate those per iteration too.

    It's pretty straightforward. You might also want to work your way through the ADE XL Rapid Adoption Kit. Go to

    and then at the top of the page, Resources->Rapid Adoption Kits. Then Custom IC and Signoff, and finally you'll find a workshop for ADE XL.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    I wrote a lengthy answer to this earlier, but it seems to have vanished, so here goes again...

    Syafiq,

    This is something you can do using built-in facilities of the tool - no need to use as complex an approach as Shawn is suggesting. Certainly doesn't need any scripting to do this.

    In ADE XL you can set up an output expression for a test, such as value(VT("/out") 100n) and then that scalar calculation will be performed at each point in the monte carlo. Once that is done, you can then plot a histogram of the distribution, or you can switch to the Detail or Detail Transpose view of the results (rather than the default Yield view) and see the values for each iteration in the monte carlo. You can plot these scalar results, or you can export them to a CSV file, or using the little histogram icon you can print values per point and do many other operations.

    If you turn on saving of family data (use the little cog icon next to the run mode selector - so where you have "Monte Carlo Sampling" rather than "Single Run Sweeps and Corners"), you can also add new output expressions after the simulation has completed, and then use the Re-evaluate icon in the Results pane to calculate those per iteration too.

    It's pretty straightforward. You might also want to work your way through the ADE XL Rapid Adoption Kit. Go to

    and then at the top of the page, Resources->Rapid Adoption Kits. Then Custom IC and Signoff, and finally you'll find a workshop for ADE XL.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information