• 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. Print statements with subcircuits

Stats

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

Print statements with subcircuits

Omar123318
Omar123318 over 5 years ago

Hello, I have a question regarding spectre netlist language

I know If I have a circuit containing MOSFETs, I can use a print statement to save specific parameter value to a file with the following statment:

print M0:vth,
+name = dc addto = "myfile.txt"

I wonder How can I use do the same If my mosfet now is defined inside subcircuit I? 

I see nothing about this in spectre help

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    You would use:

    print I1.I4.M0:vth ...

    Where I1.I4.M0 is the hierarchical path of instance names down to the transistor in question.

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Omar123318
    Omar123318 over 5 years ago in reply to Andrew Beckett

    Thank you very much. This is really helpful. 

    I wonder if there is a way to print all MOSFETs' operating points in certain subcircuit using print statement? 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 5 years ago in reply to Omar123318

    Dear Omar122318,

    I wonder if there is a way to print all MOSFETs' operating points in certain subcircuit using print statement? 

    The following link provides a means of printing all the DC operating points of the devices in your circuit.

    support.cadence.com/.../ArticleAttachmentPortal

    I hope this provides what you were hoping to accomplish!

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Omar123318
    Omar123318 over 5 years ago in reply to ShawnLogan

    No, I want to do it from the netlist not the gui.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to Omar123318

    Perhaps the simplest would be just to add:

    myoppoint info what=oppoint where=file file="myoppoint.txt"

    to your netlist. This will save all operating point info for every device into the specified file. As with other spectre instances/analyses, you can use whatever word you like for instance name of the info analysis as long as it is unique.

    Regards,

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to Omar123318

    Perhaps the simplest would be just to add:

    myoppoint info what=oppoint where=file file="myoppoint.txt"

    to your netlist. This will save all operating point info for every device into the specified file. As with other spectre instances/analyses, you can use whatever word you like for instance name of the info analysis as long as it is unique.

    Regards,

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Children
  • Omar123318
    Omar123318 over 5 years ago in reply to Andrew Beckett

    If I do it this way, can I filter the parameters to be printed?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to Omar123318
    Omar123318 said:
    If I do it this way, can I filter the parameters to be printed?

    No. You could probably also use the print statement approach with wildcards for the component name.

    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