• 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. A stochastic model in Verilog A for Monte Carlo simulat...

Stats

  • Locked Locked
  • Replies 29
  • Subscribers 125
  • Views 33234
  • 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

A stochastic model in Verilog A for Monte Carlo simulation

UUinfini
UUinfini over 11 years ago

 Hello Guys,

I have a problem for Veriglog A in Cadence, I hope you can help me. In fact I need to elaborate a stochastic model by coding in Verilog A executed under Cadence. My aim is to offer a model with which the customers can do the Monte Carlo Analysis. But I used the functions like "$random", "$temperature" etc. to generate a seed for obtaining a parameter which changes each time of simulation. But finally it changes just according to the real time of simulation, but not according to different times of simulation. Do you have any experiences like this? Thank you for you response.

Best regards,

UU

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

    Thanks. I assume you've already removed the "seedin" CDF parameter (since it's not in the dump above), so it may well work already, but if you still have a problem, type this in the CIW:

    almSetParameterList("PMAMTJ40symstoRp" "source" nil ?view "veriloga")

    This will remove the "seedin" parameter from being potentially netlisted when the veriloga view is used. Note that you will still need to fix your source.scs file if it still contains a copy of the above dump information and replace it with the "statistics" block definition etc.

    I'm pretty certain that the problem was due to the spectre version you're using causing the parameter with the cds_inherited_parameter attribute being identified as a normal parameter when the veriloga was parsed. Ah yes, it was - CCR 922010 was filed (by me) for this issue, and it was fixed in MMSIM11.1 ISR17. No need to switch versions of spectre if you use the workaround above - see this post.

    Regards,

    Andrew.

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

    Thanks. I assume you've already removed the "seedin" CDF parameter (since it's not in the dump above), so it may well work already, but if you still have a problem, type this in the CIW:

    almSetParameterList("PMAMTJ40symstoRp" "source" nil ?view "veriloga")

    This will remove the "seedin" parameter from being potentially netlisted when the veriloga view is used. Note that you will still need to fix your source.scs file if it still contains a copy of the above dump information and replace it with the "statistics" block definition etc.

    I'm pretty certain that the problem was due to the spectre version you're using causing the parameter with the cds_inherited_parameter attribute being identified as a normal parameter when the veriloga was parsed. Ah yes, it was - CCR 922010 was filed (by me) for this issue, and it was fixed in MMSIM11.1 ISR17. No need to switch versions of spectre if you use the workaround above - see this post.

    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