• 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. How can I automate noise margin calculation ?

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 126
  • Views 22514
  • 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 can I automate noise margin calculation ?

marten
marten over 10 years ago

Hi all,

is there a way to automatically calculate the noise-margin of a given cell? For a single calculation I solve this manually by calculation the derivative of the output, and then determine V_IL, V_IH, V_OL, V_OH using the plot window.

Since I want to do Monte Carlo analysis, it would be better to have this automated. So, any suggestions from the community ?

Cheers,

Marten

  • Cancel
Parents
  • ShawnLogan
    ShawnLogan over 10 years ago

    Hi Martin,


    I was faced with a similar calculation on a few occasions. What I resorted to was to an ocean script following a DC simulation. Specifically, within the script, I ran a DC transfer function of the circuit using relatively small input voltage increments (0.1 mV if I recall). Following its completion, I could determine the derivative of the transfer function and then the input voltage at the point of interest where the derivative matched -1.  I iterated on the output voltage to locate the value closest to the value corresponding to the input voltage of interest using a search. This provided the data for the noisemargin computations. The script ran over all corners to complete the picture. This may not be the most efficient method, but it worked for me.

    I will let you be the judge!

    Good luck!

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ShawnLogan
    ShawnLogan over 10 years ago

    Hi Martin,


    I was faced with a similar calculation on a few occasions. What I resorted to was to an ocean script following a DC simulation. Specifically, within the script, I ran a DC transfer function of the circuit using relatively small input voltage increments (0.1 mV if I recall). Following its completion, I could determine the derivative of the transfer function and then the input voltage at the point of interest where the derivative matched -1.  I iterated on the output voltage to locate the value closest to the value corresponding to the input voltage of interest using a search. This provided the data for the noisemargin computations. The script ran over all corners to complete the picture. This may not be the most efficient method, but it worked for me.

    I will let you be the judge!

    Good luck!

    Shawn

    • 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