• 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. measuring output transitions in ADE

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 126
  • Views 13894
  • 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

measuring output transitions in ADE

lowpower
lowpower over 8 years ago

Hi,

I am running a simple transient simulation. During the simulation, I have three signals of interest: A is an input, B is an input, and C is an output.  If A transitions when B is low, C should go high. I need to measure the total number of successful (and unsuccessful) transitions of C while it is subjected to local variations (e.g. Monte-Carlo 1000point run).

I understand how to use "delay", etc. functions but this is really messy and I need lots of post-processing.

Is Ocean the only way to determine these sort of logical expressions?


Thanks,

  • Cancel
  • Marc Heise
    Marc Heise over 8 years ago
    Hi Matthew,

    it's not that hard to do.

    Do a "cross" function of your output (and maybe input too for comparison):
    ( I've done that in the CIW after the simulation)

    out=cross(i("/R0/PLUS" ?result "tran") 50u 1 "rising" t "time" )
    (This is a current output of a resistor, finding the crossing of 50uA)
    "out" will now hold the waveform with the crossing points

    Now you just need to count the number of points:

    numEdge=drVectorLength(drGetWaveformXVec(out))

    You probably could also use our "Eye Diagram Assistant" available in Viva and run all kind of statistics there. I'm not that familiar
    with it to explain it, but the documentation should be able to help.


    Regards,
    Marc
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • lowpower
    lowpower over 8 years ago
    Nice ... I forgot about numEdge :) Yes it is a clean solution with cross. I will also check out the "eye diagram assistant". Thanks 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