• 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. Current annotation on the symbol

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 18254
  • 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

Current annotation on the symbol

PTQA
PTQA over 6 years ago

I am using IC6.1.7 and want to annotate DC voltages and currents on the symbol itself. While generating the symbol, under "Symbol Generation Options" I tick Load/Save then select "analog" from the drop down menu. I also tick Edit Labels and select Label Choice = analog pin annotate and Label type = ILLabel. This adds a cdsTerm("XYZ") on all the pins and is capable of annotating voltages but not current. It annotates something like this: 300.76m, n/a. 

What setting would annotate current also? I am interested in seeing something like this: 300.76m, 12.876u. And I want it to be annotated from top to bottom of the hierarchy.  

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    In order to annotate currents, you need to save the currents in the DC analysis. That can be done using Outputs->Save All and selecting "Select Device Currents=all" if it's a primitive device. If it's not, you could either ask to save the currents for that block in ADE (Outputs->To be saved->Select on Design and then click on the terminal in question or the instance to save all the currents, or use Outputs->To be saved->Select by Subckt Inst to control current saving in the hierarchy).

    Be careful about saving too many currents though as it can impact performance. Not a big issue for a small block, but it's expensive to save all subckt currents throughout the hierarchy in a big design in transient analysis, for example.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • PTQA
    PTQA over 6 years ago in reply to Andrew Beckett

    Thanks Andrew. It works fine now. I was saving all currents but still wasn't able to annotate currents. However, after saving selected, it works. I had a follow up question on this: How do we make an expression to be annotated on the symbol pin? For instance, I want an average current to be annotated on the symbol of a digital circuit, max value, min value, etc; Basically, I am looking for something like this: max(cdsTerm("vout")),average(cdsTerm("vout")) annotating max of vout voltage and avg current through vout pin. 

    Regards,

    PT

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to PTQA

    The annotation system doesn't support that - this would require an enhancement. Note that it wouldn't be done by surrounding the cdsTerm functions with max or average anyway since these functions just return a string representing what is going to be annotated (using the configurable annotations mechanism). So to do this properly it would need the annotation system to allow you to do this. 

    One concern would be that this could be quite slow to annotate - imagine a long transient simulation with millions of points and having to compute and annotate the max or average value of each terminal voltage and/or current.

    In theory you could write your own function to display a computed result, but as has been covered on other recent posts in the forum, this is not trivial and of the key pieces (knowing which window is being redrawn) is not currently publicly available. The downside of that approach anyway would be that it would then always annotate this information rather than you being able to configure the content of the labels.

    So the best thing to do here would be to contact customer support to request an enhancement.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • PTQA
    PTQA over 6 years ago in reply to Andrew Beckett

    okay understood. Thanks 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