• 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. ADE: get waveform value "closest" to a given instant (NO...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 2863
  • 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

ADE: get waveform value "closest" to a given instant (NO INTERPOLATION)

jorgeluislagos
jorgeluislagos over 11 years ago

Hi all! I am having a problem in ADE while using the calculator functions to check the transient operating points of a large-signal circuit (a relaxation VCO). In my testbench, I detect the commutation instants of the circuit and evaluate the transient operating points of critical devices at the instants half-way in between. In particular, I would check the operating region of a device at time "Tmeasure" using the value() function:

value(getData("MP1:region" ?result "tran") Tmeasure)

The problem is that the value() function returns an interpolated value using the 2 timesteps closest to the specified time instant (which are not necessarily equal!). Of course, this doesn't make any sense for operating region codes, which assume discrete values. As an example, if the device went from off-state (code 0) to subthreshold (code 3) before and after time "Tmeasure", I end up reading a non-sense interpolated value like 781.2m.

Thus I need to change my formula in order not to return an interpolated value but the actual value of the waveform at the timestep closest to the specified instant (or, say, the timestep just before it). I have read the documentation on the calculator functions, but haven't found anything close to what I need. Does anybody have a clue as to how I can achieve this?

Thanks in advance for any help!

Cheers,

Jorge.

  • Cancel
Parents
  • jorgeluislagos
    jorgeluislagos over 11 years ago

    Thanks so much for the replies, Shawn and Andrew; the function abValueHold() is exactly what I was looking for!

    Cheers,

    Jorge.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • jorgeluislagos
    jorgeluislagos over 11 years ago

    Thanks so much for the replies, Shawn and Andrew; the function abValueHold() is exactly what I was looking for!

    Cheers,

    Jorge.

    • 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