• 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. Tip of the Week: Rapid DC convergence in large circuits

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 125
  • Views 18691
  • 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

Tip of the Week: Rapid DC convergence in large circuits

archive
archive over 18 years ago

DC Op Point simulation time can be dramatically reduced by use of either of two Spectre functions, "readns" or "readforce".  These allow you to use your circuit's previous DC solution as the starting point for a new simulation.  When running repetitive sim's of the same circuit, the time savings can be dramatic, especially for larger circuits.

"Readns" uses the DC solution from your previous simulation as an initial "guess" for the DC solution for the present simulation.  From that starting point, it then solves for the DC operating point as usual.  Since this starting point is almost always much closer to the actual DC operating point than if the simulator had to start from scratch, the result is usually much more rapid convergence, even when you have made changes to your circuit since the last simulation.

"Readforce" is similar, except that it actually FORCES your simulation to keep exactly the same DC op point it used last time, even if things have changed in your circuit since then.  In this case, it only computes new operating points for any nodes you may have added since the last simulation.  The readforce option should be avoided except in rare cases, because if you forget you have it on you can end up having your circuit set up to old (erroneous) DC operating points even when the circuit has changed substantially.

To use readns, in the simulator window go to
ANALYSIS-->CHOOSE-->DC-->OPTIONS... and fill in the "readns" field with the
same filename as is present in the "write" field beneath it (the default filename is spectre.dc).  If you watch your CIW while running your next simulation, you will see that it takes many less tries (and less time) to achieve convergence than before you set this option.

In the rare event you wish to use readforce instead, the technique is the same, except you fill in the file name in the readforce blank instead, and you also must set the  "force" option button to "all" for the force to take effect.

IN RARE CASES, especially if you have lots of "ideal" blocks, readns or readforce can actually cause a convergence problem.  This can sometimes be fixed by increasing the "rforce" parameter, found in the regular analog simulator options, from the default value of 1 ohm to something higher, such as 100 ohms.  This parameter controls the effective driving resistance that is used by each of the ideal sources that are setting the initial conditions.

- Hugh


Originally posted in cdnusers.org by Hugh
  • Cancel
  • prashu
    prashu over 14 years ago

     Can u please tell me what is the meaning of convergence in operating point. Some times when i simulate than i got an error operating point not converges same appear with HSPICE also

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

    Please read the Forum Guidelines, as you are breaking several of the rules. The best place to find out about convergence would be in the documentation for whatever simulator you're using, or a book like The Designer's Guide to SPICE and Spectre

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • prashu
    prashu over 14 years ago
    Is that thing is not related to cadence i just asked how the cadence simualtor works
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • prashu
    prashu over 14 years ago

     

    thanx for the link
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago
    "Is that thing"? Is _what_ thing? I've no idea what you're asking.

    Andrew
    • 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