• 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. setting "max_approach_step" parameter

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 3962
  • 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

setting "max_approach_step" parameter

anwx
anwx over 1 year ago

Hi all, I am running a long transient anaylsis, where I got the following error during the simulation:

ERROR (SPECTRE-16928): Cannot run the simulation because transient analysis has reached the maximum number of times allowed to approach minstep (within 5% of stop time or 5us, whichever is less). Use the 'max_approach_minstep' option to change the maximum number of times allowed to approach minstep and rerun the simulation.

Where can I find this 'max_approach_minstep' option? I searched in transient analysis option and 'Simulation' -> 'Options', but didn't see it. Or is there other ways to solve it?

I'm using ADE Explorer in IC618 with spectre 21.

By the way, does this error possibly result from a really tight simulation accuracy? I set 'reltol' to 1e-5 to reach the desired accuracy.

  • Cancel
  • anwx
    anwx over 1 year ago

    sorry there's a typo in the title, it should be "max_approach_minstep"

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago in reply to anwx

    This is a rarely used parameter, and so isn't on the form. You have to go to SImulation→Options→Analog, and then the Miscellaneous tab, and in the Additional arguments field (at the bottom of the form) enter max_approach_minstep=600 (or whatever). The default is 300.

    Generally this is an indication that you have some convergence difficulties during the time domain rather than just due to tightening reltol. This could be for a number of reasons, including discontinuities in device models. Try running with Enable diagnostic mode on Setup→Environment to see if that gives any clues as to why the timestep is collapsing. Whilst increasing max_approach_minstep might help, it might be better to try to find out why it's approaching minstep in the first place.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • anwx
    anwx over 1 year ago in reply to Andrew Beckett

    Hi, Andrew. I tried increasing "max_approach_minstep" a little bit, but that doesn't help much. I am trying diagnostic mode to see if there are any clues. Thank you very much!

    • 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