• 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. HB analysis data calculating

Stats

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

HB analysis data calculating

Cdub
Cdub over 5 years ago

I am running HB analysis and notice that I can plot the THD from the direct plots form, but I would like to use that value for an optimization run, so I need to access it in the "Outputs Setup" tab as a function expression. Is that possible? If not I would like to use the calculator to manually calculate the THD, I am using the "vfreq" and "conjugate" functions to calculate the square of each coefficient but I can't figure out how to add them up. Is there a way to add the coefficients up; or more generally, can I add a signals amplitude without taking the integral(multiplying by dt)?

  • Cancel
  • Cdub
    Cdub over 5 years ago

    I have found out the summing portion at this link using the abSumValues.il code, so calculating THD is possible. Is there a more straightforward way?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to Cdub

    You don't need to do that. Simply use the "Add to Outputs" checkbox (or button if you've already plotted the THD) from the direct plot form. This will add the corresponding output expression into the ADE outputs.

    No need to reinvent the wheel.

    Andrew.

    • 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