• 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. Multiple set of save statements in spectre simulation

Stats

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

Multiple set of save statements in spectre simulation

shankarp
shankarp over 12 years ago
I am doing a PSS simulation of an oscillator with spectre which runs for pretty long duration for the oscillation to stabilize. I want to monitor/save only 4 nodes (say x1,x2,x3,x4) in the tran part of the PSS to prevent blowing up of the simulation data size. In the steady state PSS solution I wanted to save many nodes in addition to the said four nodes(x1,x2,x3,x4). Is it possible to save two different set of nodes for the tran part and steady state part in spectre?

I attempted the following solution:

save x1 x2 x3 x4
pss_run_aux  (x1 x2) pss fund=var_fosc harms=200 errpreset=conservative save=selected annotate=status tstab=3m saveinit=yes relref=alllocal writepss="%C_tran.pss" strobeperiod=1/(16*var_fosc)
pss_run      (x1 x2) pss fund=var_fosc harms=200 errpreset=conservative save=all annotate=status tstab=3m saveinit=no relref=alllocal readpss="%C_tran.pss"
removeTranpss shell cmd="rm -f %C_tran.pss" annotate=status
 
The first PSS(pss_run_aux) runs the tran part in which I save the four nodes in the raw directory. The second PSS(pss_run)starts from the data written by the previous analysis to compute the steady state pss data. However, I was not able to specify a seperate set of nodes to be saved for the second PSS analysis(pss_run) and I end up writing save=all.
 
Is there a way to save two different types of node sets for two different analysis within the same netlist?
 
Thanks in advance.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Hi Shankar,

    I don't believe this is possible. It's certainly not possible between the saveinit and shooting phase of the PSS. I did try using either a dummy alter statement between the two pss runs that you'd tried, but the save statements are effectively global and not ordered.

    I also tried putting the save statement in an altergroup, but that's not supported.

    So I think this is a good idea though - so please contact customer support and request an enhancement to provide a way to do this. Probably we need something like a "queued" save statement (similar to the "set" statement which is a queued options statement), where the save statement would be run in order like the analyses are.

    Regards

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • shankarp
    shankarp over 12 years ago

    Hi Andrew,

    I have also tried the alter/altergroup statements in the first place to vain.  As you suggested let me suggest an enhancement through the customer support. 

    Thanks

    Shankar 

    • 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