• 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. ADEXL Save all currents

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 126
  • Views 21483
  • 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

ADEXL Save all currents

PNadeau
PNadeau over 9 years ago

Dear folks,

I am trying to save all currents entering the pins of schematic instances up to a certain level for a Spectre PSS simulation.

In ADEXL, I right click in the outputs table somewhere, click Save All, and configure: Save device currents -> selected, subcktprobelvl->3, useprobes -> yes.

If I run a DC simulation I get the correct behaviour (currents saved up to a certain level, I can see it in the Results Browser)

If I run PSS, no currents are saved.

This is the relevant line that appears in the netlist

saveOptions options save=all currents=selected subcktprobelvl=3 useprobes=yes

Anyone have an idea how to save all currents in PSS?

Thanks in advance,
Phil

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Phil,

    I'm surprised. That would work (I just tried it, and it works for me). Which version of IC and MMSIM are you using? (including subversions)

    Thanks,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • PNadeau
    PNadeau over 9 years ago

    Thanks for checking.  It's odd, I just started a completely new testbench with a few levels of hierarchy and it seems to work perfectly.  But I have a bunch of testbenches where it still does not work (settings in the Save All dialog in both cases look identical).   Perhaps there is an interacting setting somewhere.   For what it's worth I have IC6.1.7-64b-78 and MMSIM 15.1.0.284.isr1.  I'll see if I can replicate the steps or setup that leads to the problem...

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • PNadeau
    PNadeau over 9 years ago

    Ok, so the interacting setting is Spectre APS.  I start with the testbench that saves all currents properly all the way down the hierarchy, but then I enable APS and the instance currents are no longer saved.  

    It still saves terminal currents for certain cells (like AnalogLib caps, resistors, and my PDK devices), but will not save currents into the terminals of my custom cell blocks. Does this give an idea?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Frank Wiedmann
    Frank Wiedmann over 9 years ago

    I suggest you try setting "Instance Preservation: All" in the High-Performance Simulation Options.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    I suspect this is an optimisation performed because using subcktprobelvl is expensive - you can end up with a lot of iprobes in the circuit which can significantly impact performance (particularly with PSS). That said, it does this silently and there doesn't seem to be a way to disable it (the instance preservation that Frank suggested doesn't work - I wouldn't have expected it to). 

    The workaround is to explicitly save the currents you want. Unfortunately even if you select currents using Outputs->To be Saved->Select by Subckt Inst and tell it to save a certain depth of currents, that doesn't work either - you have to explicitly save all the currents you want.

    This may be an oversight - because with transient it works fine - as soon as you add pss, it breaks. So please contact customer support about this. I didn't see any reports of this issue so far.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • PNadeau
    PNadeau over 9 years ago

    Thanks so much, appreciate you looking in to it.

    Happy to report in case it can be fixed, but I don't have access to the regular channel myself (academic user).

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    I'll file a CCR later today.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • PNadeau
    PNadeau over 9 years ago
    Great, thanks very much.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago
    I filed CCR 1599925 for this.
    • 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