• 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. Mixed-Signal Design
  3. measure dx ( delta ) between signals (the distance of the...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 65
  • Views 6635
  • 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

measure dx ( delta ) between signals (the distance of the tt signal and the other corners )

Hagar Hendy
Hagar Hendy over 2 years ago

how to measure automatically using calculator the dx( delta)  between the typical typical signal and the other corners.  

  • Cancel
  • ShawnLogan
    ShawnLogan over 2 years ago

    Dear Hagar Henry,

    Hagar Hendy said:
    how to measure automatically using calculator the dx( delta)  between the typical typical signal and the other corners.

    There may be more other more efficient or clever solutions, but suppose you separate your corner simulations such that you initially simulate your typical corners one test. Then, in a second test containing the remainder of your corner simulations, you can use the Calculator Calcval() function to refer to the x-value (time point) of your typical simulation and compute the time difference between the x value of each corner simulation at the y threshold value.

    As an example, suppose your typical test name is "typ_run" and it has an output defined as x_typ that looks something like this:

    x_typ = cross(v("/OUT" ?result "tran") 0.5 1 "rising" )

    Then to use the value of x_typ in a second test, named for example "corner_run", you can refer to the value of x_typ using:

    calcVal("x_typ" "typ_run")

    Shawn

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to ShawnLogan

    You don't need to do this with two tests. Simpler is to use a single test and measure your crossing point with an expression similar to that used by Shawn (I called it "crossPoint" in my case) and add a second output (which I called "dx"):

    calcVal("crossPoint" "myTest") - calcVal("crossPoint" "myTest" ?cornerName "typ")

    This will return 0 for the "typ" corner, and the difference to the typ corner for the rest of the corners. Of course, your corner names, output names and test names will differ from mine.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Hagar Hendy
    Hagar Hendy over 2 years ago in reply to Andrew Beckett

    Thanks  a lot i tried it now and it works 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Hagar Hendy
    Hagar Hendy over 2 years ago in reply to ShawnLogan

    Thanks  a lot 

    • 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