• 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. 'while' control flow for large simulation sweep in maestro...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 126
  • Views 957
  • 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

'while' control flow for large simulation sweep in maestro run plan

cdnspg
cdnspg over 2 years ago

Running large simulation sweep with multi-parameters

parm1 p1start:p1step:p1end

parm2 p2start:p2step:p2end

... or parm sweep.

I would like to break out of the simulation sweep triggered by a condition part of output of the same simulation analysis block. Something like a 'while' control flow

        while(condition_in_sim_output, sweep_parm)

             Simulate

with condition to be a pass/fail from a condition in outputs of the simulate block and having corresponding parm values meeting condition on-hand.

The purpose is to reduce the simulations in sweep as the condition can possibly be met early in the sweep.

Any way to implement this simulation flow thru a combination of ocean script code and Run Plan in maestro?

Thanks for helping

  • Cancel
Parents
  • Marc Heise
    Marc Heise over 2 years ago

    Hi,

    I am not sure about the purpose of your param sweep if you want to break it early. Usually you do param sweeps to check out your design space and you want to cover all the points. 

    But if this is a kind of calibration and you search for a param combination meeting your output criteria to run further test on top of it you might want   to  check out
    the option to do OCEAN pre-run scripts. Like this:

    Article (20471693) Title: Techniques for Simulating Calibrated Circuits with Virtuoso ADE Assembler
    URL: https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1O0V000006AicEUAS

    We also can autostop simulations using spectremdl scripts or using spice .measure , but these wont stop the whole sweep only single points. 
    You could also try the optimizer to search in a param space.

    Kind regards,

    Marc

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Marc Heise
    Marc Heise over 2 years ago

    Hi,

    I am not sure about the purpose of your param sweep if you want to break it early. Usually you do param sweeps to check out your design space and you want to cover all the points. 

    But if this is a kind of calibration and you search for a param combination meeting your output criteria to run further test on top of it you might want   to  check out
    the option to do OCEAN pre-run scripts. Like this:

    Article (20471693) Title: Techniques for Simulating Calibrated Circuits with Virtuoso ADE Assembler
    URL: https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1O0V000006AicEUAS

    We also can autostop simulations using spectremdl scripts or using spice .measure , but these wont stop the whole sweep only single points. 
    You could also try the optimizer to search in a param space.

    Kind regards,

    Marc

    • 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