• 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. Printing all DC operating points of all devices

Stats

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

Printing all DC operating points of all devices

Mamad
Mamad over 8 years ago

Hi,

I am a beginner in ocean. I have the following ocean script which reports the source current of transistor M3.

;*****************************

openResults("~/simulation/TEST_OPAMP_POLY_TB/spectre/schematic/psf/")
p=outfile("/home/mt2775_loc/simulation/TEST_OPAMP_POLY_TB/spectre/schematic/netlist/resultsSpectre.txt" "w")

fprintf(p, "Hello World! to make sure it is working\n" )
selectResult('dcOp)

fprintf(p,"%f",i("/I0/M3/S"))

;*****************************

I also know if I use outputs() command, all DC values will be printed out. 

The question is that which command can print all DC values into the file (instead of calling function "fprintf" for each one by one like above)? In short, I need a such command fprintf(p,"%f", outputs()). 

If I need to use a loop would you please let me how to write it.

Thank for your help

Mohammad 

  • Cancel
Parents
  • Mamad
    Mamad over 8 years ago
    Dear Andrew,
    Thanks for your reply

    Mohammad
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Mamad
    Mamad over 8 years ago
    Dear Andrew,
    Thanks for your reply

    Mohammad
    • Cancel
    • Vote Up 0 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