• 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. Using Print in Spectre

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 126
  • Views 17273
  • 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

Using Print in Spectre

TimCoyle
TimCoyle over 15 years ago

Hi,

I am trying to use the print command in Spectre for a transient analysis to save the voltage of an output node to an external file. I would like for the time step to be used in the print results so for example if my time step=0.1ns than the node voltage printed in the external file will have a time step of 0.1ns. 

Here's what I have for syntax:

TranName1 tran start=0 stop=7ns step=.0035ns

PRINT RWF_GND= v(rwf_gnd), FWF_GND = v(fwf_gnd), RWF_VCC= v(rwf_vcc), FWF_VCC= v(fwf_vcc), name=allvttyp to="all_vt_typ.lis"

This is acutally an HSPICE netlist that I am running in spice compatible mode and I did try to use the following HSPICE syntax to save the output voltage nodes to a .print file but again I could not get the correct time step in the output data:

.tran 0.0035ns 7.0ns START=10ns

.PRINT TRAN
+ RWF_GND      = v(rwf_gnd)
+ FWF_GND      = v(fwf_gnd)
+ RWF_VCC      = v(rwf_vcc)
+ FWF_VCC      = v(fwf_vcc)

If anyone has any insight on using either method to get the output data with the correct time step let me know!

 

Best,

 Tim

 

  • Cancel
Parents
  • TimCoyle
    TimCoyle over 15 years ago

     Hi Tawna,

    I think I actually figured it out. I had the .option ingold card and I think by default ingold is set to 1. When I set it to 2 than I appear to get the correct formatting. I can't quite remember the difference between the 1 and 2 setting but I think one of them is supposed to be a fixed scientific notation format. 

     Best,

    Tim

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • TimCoyle
    TimCoyle over 15 years ago

     Hi Tawna,

    I think I actually figured it out. I had the .option ingold card and I think by default ingold is set to 1. When I set it to 2 than I appear to get the correct formatting. I can't quite remember the difference between the 1 and 2 setting but I think one of them is supposed to be a fixed scientific notation format. 

     Best,

    Tim

     

    • 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