• 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. spectre: save all currents connected to a given node, but...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 126
  • Views 7861
  • 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

spectre: save all currents connected to a given node, but exclude given connections

Zol
Zol over 2 years ago

Spectre has an option to save all terminal currents connected to a node. Below is an example code:

save my_node:currents probelvl=2

Is there any way to exclude some terminals, like the bulk of the transistors or the supplies of digital cells (I can match a pattern to the terminal names)? I tried

save my_node:currents probelvl=2 exclude=[*:b *:inheretedSupplyName]

But it does not work. Removing these would save disk space and I also hope that it would save up the simulations.

  • Cancel
  • ShawnLogan
    ShawnLogan over 2 years ago

    Dear Zol,

    Zol said:

    Is there any way to exclude some terminals, like the bulk of the transistors or the supplies of digital cells (I can match a pattern to the terminal names)? I tried

    save my_node:currents probelvl=2 exclude=[*:b *:inheretedSupplyName]

    But it does not work.

    From my understanding,  by default, the save statement in spectre uses the terminal name for element currents and the terminal index for subcircuit terminals. Assuming your transistors are implemented as subcircuits, the save statement will use its terminal number and not its name. I think you can check this by examining your input.scs file. This might explain why your attempt to exclude the bulk node terminal currents using the syntax "*:b" is not excluding the bulk node currents. You can change the default behavior to use the terminal name by setting the option useterms=name. I just searched the site, and there is a Troubleshooting article at URL:

    support.cadence.com/.../ArticleAttachmentPortal

    that relates to this issue that may be helpful if you did not find it in your search.

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Zol
    Zol over 2 years ago in reply to ShawnLogan

    Thanks for the reply. I set useterms=name through ADE's Environment Windows. I confirmed it in the netlist. I am saving only selected currents. I have only one save statement for the currents, and I still see the bulk currents. I have not seen any mention about the save statements in spectre.out. I have this problem with baseline spectre and with APS as well.

    Can you think of anything else, what I should set to make it work?

    I use IC 6.1.8-64b.500.13.EHF7868 with spectre 20.1.0.348.isr10 64bit

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to Zol

    I tried with the latest Spectre (21.1.0.664.isr16) and it doesn't seem to be possible as far as I can see.

    You should contact customer support.

    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