• 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. Cadence Calculator Function for the difference between the...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 10315
  • 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

Cadence Calculator Function for the difference between the abscissa of the intersection of two curves

zzzzzzzzzw
zzzzzzzzzw over 4 years ago

Hi,

I am running a dc simulation for Schmitt Trigger .

Its voltage transfer characteristic curve is shown in the following figure (the green curve  V=Vout ).And the red curve(V=Vin) has a slope of 1 .

I would like to find the difference between the abscissa of the intersection of two curves, which represents the hysteresis width of the Schmidt trigger.

Then I want to do a Monte Carlo simulation of hysteresis width.

So far I have ymin(abs(v("/vout" ?result "dc")-v("/vin" ?result "dc")))  obviously.

However, ymin(abs(v("/vout" ?result "dc")-v("/vin" ?result "dc")))  is not equal to zero but a very small value .I think it has to do with step size.

Is there a calculator expression for what I want to do?

My virtuoso version is 6.17-64b.

Thanks

  • Cancel
  • zzzzzzzzzw
    zzzzzzzzzw over 4 years ago

    need help!

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 4 years ago in reply to zzzzzzzzzw

    Dear zzzzzzzzzw,

    zzzzzzzzzw said:

    I would like to find the difference between the abscissa of the intersection of two curves, which represents the hysteresis width of the Schmidt trigger.

    Did you happen to see the SKILL script that Mr. Andrew Beckett provided for creating a list from the waveform of the hysteresis transfer function? His response and his SKILL function is at URL:

    https://community.cadence.com/cadence_technology_forums/f/custom-ic-skill/25049/how-to-calculate-hysteresis-using-ocean-skill-script

    As noted in this post, taking the difference between like x-values of will provide a measure of the hysteresis width that might be used in a set of Monte-Carlo analyses.

    I hope this is somewhat useful for you - or provides some insight at the least!

    Shawn

    • Cancel
    • Vote Up +1 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