• 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. monte-carlo simulation running one seed

Stats

  • Locked Locked
  • Replies 12
  • Subscribers 127
  • Views 25600
  • 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

monte-carlo simulation running one seed

frogconsultant
frogconsultant over 13 years ago

Hi All,

I am using 6.1.5 environment and I have ran a monte-carlo simulation over 100 runs yesterday and I load back my results. Some runs have failed and I wish to see more data on these particulars seeds. I went to the monte-carlo options and choose the specific seed number and re-run only this one with monte-carlo.

As a result, I do not have the correct seed environment and so the same results.

How could I re-run a specific seed number from a monte-carlo run with all data such dc voltage, dc operating point, waveforms specified, ...?

Thanks in advance for your help,

Fabian

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Hi Fabian,

    The best way is not to mess around with the "seed". If the seed was not set, it defaults to 12345. It's the start run number that you'd want to use, rather than the seed. The seed alters the sequence of random numbers that are generated, and the start run number tells you how far that sequence you are.

    The easiest way is take your full 100 run monte carlo results, switch to Detailed view (rather than Yield), and then over the particular run numbers that failed, do a right-mouse-button->Create Statistical Corner. This will then add into the corners the specific runs which you're interested in.

    Then if you run in Single Run, Sweeps and Corners mode, and have the corners enabled, it will re-run the specific monte carlo points that you're interested in - making it easier to debug them.

    Regards,

    Andrew.

    • Cancel
    • Vote Up +2 Vote Down
    • Cancel
  • frogconsultant
    frogconsultant over 13 years ago

     Hi Andrew,

    Thanks for your quick reply.

    I select the run number of interest and create a statistical run after reloaded the monte-carlo run from yesterday (reload results). Then run only this new run as a Single Run, ...

    The outcome results are not the same as the specific one selected. How could I make sure this new run created is the one which failed in the monte-carlo run?

    Regards,

    Fabian

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

     Fabian,

    They should be the same. If they're not, you should log a service request with us to take a look. Potentially there are some situations where the circuit has multiple operating points and it might converge due to subtle differences in starting conditions to one or the other - but it's hard to tell without seeing the data.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • pirateKing08
    pirateKing08 over 12 years ago

    Hi Andrew

    I use statistical corners and I can re-produce the same montecarlo run number result when re-run as single statistical corner run on the same cct. What concerns me however is har far can you change your cct before that worst case statistical corner is no longer valid? I understand your flow suggests using statitstical corners to parametric optimize a cct  but is that as long as the letlist doesn't change? Is the seed also related to the netlist? I end up with loads of worst case statistical corners when developing a circuit as the previous worst case statistical corners no longer produce the worst result in a later MC run if the cct has changed. Also grabbing the worst case statistical conrers for a schematic run then extracting the layout and running just the statistical corner extremes gives better results which I am aprehensive about. I still feel I need to run a full MC again as I don't believe the worst case statistical corners are still the worst case.

    Regards

    Lance

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Lance,

    Statistical corners are fine if you're using process variation. If using mismatch, then they're also fine if you only change the parameters (or global variables) in the design - if you modify the circuit itself, then the mismatch won't be identical any more - because the sequence of random numbers will be affected by the differences in the circuit.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Frank Wiedmann
    Frank Wiedmann over 12 years ago

    In my opinion, this behavior severely limits the usefulness of statistical corners in ADE XL. Solido told me that they don't have this problem because they assign mismatch parameters to components by their name and not by netlist order. I think that it would be a really good idea for Cadence to do the same.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    I'm not sure I'd agree that it severely limits the usefulness, since it's still fine provided that you are not making topological changes to the design, but your point is understood. It's actually spectre that is doing this because a statistical corner just runs a single point monte carlo, but that's an implementation detail - ideally we can come up with something that is a bit more general whilst still retaining the performance benefit of doing the random number generation in the simulator rather than having to impose it from outside.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Frank Wiedmann
    Frank Wiedmann over 12 years ago

    Well, it seems to be a major problem for Lance and I'd guess that he's not alone. When you fix this issue, please don't forget to also deal with the correspondence between schematic and extracted views that he mentioned.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Frank,

    I'm not saying it's not a problem in some caes - just saying that in many cases it is still useful.

    Getting the monte carlo to correlate between the schematic and extracted views is probably quite a tall order, since there is often not a one to one correspondence between the devices anyway (for example, an m-factored transistor in the schematic will end up as separate devices in the layout).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Frank Wiedmann
    Frank Wiedmann over 12 years ago

    I agree that this is a little more difficult, but it should still be doable, for example by using information from an LVS run. Of course, a first step should be to give consistent results for a modified version of the same view (including an extracted view).

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
>

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