• 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. Running the worst case Monte-Carlo Run ( in ADE-XL)

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 126
  • Views 15981
  • 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

Running the worst case Monte-Carlo Run ( in ADE-XL)

RFStuff
RFStuff over 9 years ago

Dear All,

I ran a Montecarlo-Simulation with 5000 runs.

I also found the two worst case runs ( run no # 3042 and # 267).

I then want to run only the same two worst runs.

Could anybody please tell how I can do that.

Kind Regards,

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

    You can do this with Create Statistical Corner. On the Detail view, go to the points that you want to re-run, and use the Right Mouse Button menu over an output for that point and pick Create Statistical Corner:

    This will add a new entry into your Corners. You can do the same again for the other point. Alternatively you can use a similar right mouse button  menu over an output in the yield view to pick the worst point, or a percentile point (e.g. the 95th percentile).

    Then switch to Single Run Sweeps and Corners and run the simulation and it will just run those monte carlo points.

    Now, one thing to be aware of is that this just runs a monte carlo running those individual points in the sequence by default. If you are using mismatch or all (i.e. process+mismatch) then the results will be consistent unless you change the topology of the circuit (parameter value changes are OK, but adding or subtracting instances will cause it to be different). That's because the mismatch parameters are computed in the simulator by rolling the dice for each instance - if the sequence of instances is different (i.e. there are more or less), then the point in the distribution you'll get will be different too. For process it's OK, because the dice is rolled to same number of times regardless of changes in the circuit.

    To solve this, a new option was added in IC616 ISR6 (so the one before you're using). You can set this .cdsenv variable:

    adexl.monte createStatisticalCornerType cyclic "sequence"

    where the value can be set to "sequence", "prompt", "values" or "promptValues". You can also set this using SKILL in your .cdsinit :

    envSetVal("adexl.monte" "createStatisticalCornerType" 'cyclic "promptValues")

    The meanings are that sequence is where it just picks the point in the sequence of runs (i.e. the default behaviour), and values will cause it to save the mismatch and process parameters and re-use those (for any instance that is still in the design). If there's a "prompt" in the name it will ask you to confirm that choice when creating a statistical corner.

    Note that for the "values" mode to work, you have to enable the Save Process Data and Save Mismatch Data on the Monte Carlo options form. This isn't done by default because there is a small (usually it's small, anyway) performance penalty to pay for doing that.

    Regards,

    Andrew.

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

    You can do this with Create Statistical Corner. On the Detail view, go to the points that you want to re-run, and use the Right Mouse Button menu over an output for that point and pick Create Statistical Corner:

    This will add a new entry into your Corners. You can do the same again for the other point. Alternatively you can use a similar right mouse button  menu over an output in the yield view to pick the worst point, or a percentile point (e.g. the 95th percentile).

    Then switch to Single Run Sweeps and Corners and run the simulation and it will just run those monte carlo points.

    Now, one thing to be aware of is that this just runs a monte carlo running those individual points in the sequence by default. If you are using mismatch or all (i.e. process+mismatch) then the results will be consistent unless you change the topology of the circuit (parameter value changes are OK, but adding or subtracting instances will cause it to be different). That's because the mismatch parameters are computed in the simulator by rolling the dice for each instance - if the sequence of instances is different (i.e. there are more or less), then the point in the distribution you'll get will be different too. For process it's OK, because the dice is rolled to same number of times regardless of changes in the circuit.

    To solve this, a new option was added in IC616 ISR6 (so the one before you're using). You can set this .cdsenv variable:

    adexl.monte createStatisticalCornerType cyclic "sequence"

    where the value can be set to "sequence", "prompt", "values" or "promptValues". You can also set this using SKILL in your .cdsinit :

    envSetVal("adexl.monte" "createStatisticalCornerType" 'cyclic "promptValues")

    The meanings are that sequence is where it just picks the point in the sequence of runs (i.e. the default behaviour), and values will cause it to save the mismatch and process parameters and re-use those (for any instance that is still in the design). If there's a "prompt" in the name it will ask you to confirm that choice when creating a statistical corner.

    Note that for the "values" mode to work, you have to enable the Save Process Data and Save Mismatch Data on the Monte Carlo options form. This isn't done by default because there is a small (usually it's small, anyway) performance penalty to pay for doing that.

    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