• 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 SKILL
  3. Include file in spectre

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 17877
  • 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

Include file in spectre

sdv30
sdv30 over 9 years ago

I have a very simple question.
I am trying to include a file in spectre. I have the simplest setup possible.
I am using an empty netlist (only entry is simulator lang=spectre) and using a stimulus file, where I have only one include statement:
include "RefClk.txt"
The RefClk.txt file has a pwl voltage source in spectre syntax (simulator lang=spectre at the top of the file). 
The issue is this: When I have a very low number of time/voltage pairs (e.g. 50) then the file is included and the simulation completes correctly.
When I try to include a more realistic pwl waveform with ~1000 time/voltage pairs, the simulations hangs.
Has anyone seen anything like that?
Thanks.

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

    Good that it's working now.

    I'd recommend removing that options line altogether. I'd suggest starting from default accuracy settings, and setting the errpreset on the tran to be conservative if you really need to. Then if you need more accuracy than that, tighten the reltol to 1e-4 (which means 1e-5 with an errpreset of tran) - only tighten tolerances if you need to. Most people tend to over-tighten and then complain about the simulation performance because they've set them inappropriately. 

    Spectre is pretty accurate out of the box, so start from that assumption and tighten when you need it, rather than tighten just in case...

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Good that it's working now.

    I'd recommend removing that options line altogether. I'd suggest starting from default accuracy settings, and setting the errpreset on the tran to be conservative if you really need to. Then if you need more accuracy than that, tighten the reltol to 1e-4 (which means 1e-5 with an errpreset of tran) - only tighten tolerances if you need to. Most people tend to over-tighten and then complain about the simulation performance because they've set them inappropriately. 

    Spectre is pretty accurate out of the box, so start from that assumption and tighten when you need it, rather than tighten just in case...

    Regards,

    Andrew.

    • 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