• 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. Check signal value in order to stop simulation

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 126
  • Views 14601
  • 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

Check signal value in order to stop simulation

frogconsultant
frogconsultant over 14 years ago

Hi Everyone,

I am trying to optimize the simulation time but checking the value of an analog signal in the simulation.

I am wondering if there is already a block (veriloga) or a function under cadence which check the value of an analog signal (i.e. for example after 10 values with 1us apart under 5% of the final value) and stop when the condition is met.

Any articles, websites or veriloga model would be perfect.

Thanks in advance for your help,

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

     Hi Fabian,

    The solution I referred to is describing the new Simulation->MDL Control menu which allows you to reference an MDL script to run the simulation. It's important to use this:

    envSetVal("spectre.envOpts" "mdlSimExecName" 'string "/export/home/apps/MMSIM101_isr/tools/bin/spectremdl")

    If using IC614, because otherwise it doesn't work (this is fixed in IC615). Of course, alter the path as necessary.

    For more details on SpectreMDL, read the documentation on SpectreMDL (in the MMSIM documentation) which covers how to use autostop.

    Regards,

    Andrew.

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

     Hi Fabian,

    The solution I referred to is describing the new Simulation->MDL Control menu which allows you to reference an MDL script to run the simulation. It's important to use this:

    envSetVal("spectre.envOpts" "mdlSimExecName" 'string "/export/home/apps/MMSIM101_isr/tools/bin/spectremdl")

    If using IC614, because otherwise it doesn't work (this is fixed in IC615). Of course, alter the path as necessary.

    For more details on SpectreMDL, read the documentation on SpectreMDL (in the MMSIM documentation) which covers how to use autostop.

    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