• 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. Measure power of opamp circuit

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 14265
  • 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 power of opamp circuit

tiennv
tiennv over 6 years ago

HI everyone,

Can you help me?

I want to measure power of inverting summing using opamp.

however, i just use opamp model (written by verilog A) in adhlLib library.

so, i dont know, whether i can measure power consumption. 

Thank.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    This is a bit of a strange question. A Verilog-A model won't model the power consumption of the circuit that it is aiming to model unless you've consciously modelled it. Even then, it's got to represent the current consumption of the actual implementation of the circuit - there's no way an arbitrary model can reasonably model the current consumption (and hence power) of an opamp.

    For example, in this model, there's no current flow from the supply pins that is modelled. So if you were to take the simple approach of measuring the current into the supply and multiplying that by the supply voltage, you'd get a power of 0. There is also a mechanism in VerilogA where you can use the $pwr(powerValue) system task to output the power used by that model - although that hasn't been used in this model. You could take a copy and add a call to $pwr to do that.

    The current consumption will depend upon the implementation, as I mentioned. It would depend on the quiescent current in the amplifier, which would be mostly due to the current mirrors in the design (of course there may be other places current is drawn) - and that will depend upon how much current each of these is drawing. You'd have to model that in some way (maybe as simply as using $pwr) so that the model can then be used in a testbench where you're measuring power.

    Regards,

    Andrew.

    • 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