• 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 SKILL
  3. How does the parametric analysis work?

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 144
  • Views 17815
  • 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 does the parametric analysis work?

imagesensor123
imagesensor123 over 13 years ago

Hello,

       we all know that the parametric analysis is quite a useful tool in cadence, we can sweep any parameters in the design. I refer to the 

cadence user guide and I find that it is a "for loop" simulation. I perform  the same simulation by using the same "for loop" , but I find the parametric analysis is much faster than the common "for loop". I would like to know why the parametric analysis is faster? is there some optimization for the parametric analysis ?

 regards,

zfeng 

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

    With spectre, assuming that you still have it in "interactive" mode (and haven't switched via the spectre.envOpts controlMode cdsenv to "batch" mode), ADE starts spectre and runs a simulation but does not exit at the end. It's then able to talk to spectre to tell it to change the value of a parameter and re-simulate. There's then no need to restart the simulator, re-checkout the license, re-read the netlist, and so on. So ADE's parametric analysis can do a:

    1. start simulator
    2. read netlist
    3. checkout license
    4. set parameter X to first value
    5. run sim
    6. set parameter X to next value
    7. jump to step 5 all the time there are next values

    The same thing should happen if you do:

    foreach(val '(1k 2k 3k 4k)
      desVar("rload" val)
      run()
    )

    however, if you're changing certain other things, that may force the simulator to exit each time. So it depends if you do anything inside your loop which requires spectre to exit to change (e.g. changing the resultsDir, or altering an analysis would probably do it).

    Andrew.

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

    With spectre, assuming that you still have it in "interactive" mode (and haven't switched via the spectre.envOpts controlMode cdsenv to "batch" mode), ADE starts spectre and runs a simulation but does not exit at the end. It's then able to talk to spectre to tell it to change the value of a parameter and re-simulate. There's then no need to restart the simulator, re-checkout the license, re-read the netlist, and so on. So ADE's parametric analysis can do a:

    1. start simulator
    2. read netlist
    3. checkout license
    4. set parameter X to first value
    5. run sim
    6. set parameter X to next value
    7. jump to step 5 all the time there are next values

    The same thing should happen if you do:

    foreach(val '(1k 2k 3k 4k)
      desVar("rload" val)
      run()
    )

    however, if you're changing certain other things, that may force the simulator to exit each time. So it depends if you do anything inside your loop which requires spectre to exit to change (e.g. changing the resultsDir, or altering an analysis would probably do it).

    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