• 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 - saving by specific subcircuit

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 127
  • Views 12090
  • 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 - saving by specific subcircuit

swdesigner
swdesigner over 14 years ago

Is it possible to tell spectre to save all nodes or terminal currents within a certain subckt? It's trivial in Hspice, you could do

 

save all Xtop.Xsub.*

 

I believe there's even a way to use the wildcards to get it to only do the top-level within that subcircuit, but I don't recall it..

 

Any ideas? How would it be done through the ADE, without messing with the netlist?

  • Cancel
Parents
  • Marc Heise
    Marc Heise over 14 years ago

     Hi,

    a quick 

    >spectre -h save

    will reveal that it is trivial in spectre as well:

    Examples of pattern matching:

    save x*.*1 depth=3
    saves the voltages of all nodes from level 2 to level 3 whose name starts with
    `x' and ends in `1', eg x1.n1, x1.x2.x3 but not x1.x2.x3.x4

    save x*.*1 sigtype=subckt
    saves all terminal currents of subcircuits from level 2 and above whose name
    starts with `x' and ends in `1', eg x1.x21:2, x1.x2.x31:3

    save *:c devtype=bjt
    saves all collector currents

    save * subckt=inv
    saves the voltages of all nodes in the instances of the subcircuit `inv', eg
    X1.n1 for an instance X1 of inv but not net091 at the top-level

    save * exclude=[X1* X2*]
    saves the voltages of all nodes excluding the ones whose names start with `X1'
    or `X2', eg net091, X0.res3.n2 but not X21.res3.n2.

     

    Regards,

    Marc

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Reply
  • Marc Heise
    Marc Heise over 14 years ago

     Hi,

    a quick 

    >spectre -h save

    will reveal that it is trivial in spectre as well:

    Examples of pattern matching:

    save x*.*1 depth=3
    saves the voltages of all nodes from level 2 to level 3 whose name starts with
    `x' and ends in `1', eg x1.n1, x1.x2.x3 but not x1.x2.x3.x4

    save x*.*1 sigtype=subckt
    saves all terminal currents of subcircuits from level 2 and above whose name
    starts with `x' and ends in `1', eg x1.x21:2, x1.x2.x31:3

    save *:c devtype=bjt
    saves all collector currents

    save * subckt=inv
    saves the voltages of all nodes in the instances of the subcircuit `inv', eg
    X1.n1 for an instance X1 of inv but not net091 at the top-level

    save * exclude=[X1* X2*]
    saves the voltages of all nodes excluding the ones whose names start with `X1'
    or `X2', eg net091, X0.res3.n2 but not X21.res3.n2.

     

    Regards,

    Marc

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Children
No Data

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