• 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. Spectre Recover with Appended Results

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 126
  • Views 14705
  • 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

Spectre Recover with Appended Results

MarkASummers
MarkASummers over 16 years ago

I want to use the spectre recover option to extend simulation time.  Here is an example of what I want to do.

 Initial simulaiton stop time at 200us with savefile saved at this time point.

I then run a new simulation using my savefile in the recover option.  I set the stop time at 400us.  

When this simulation is done, I only see simulation results from 200us to 400us.

What I want to see is the simulation results from 0 to 400us.  Is there a way to do this without explicitly knowing I need to do this before hand.  What I mean is that I discover after running my 200us that I need to run 200us more.  Of course I will have to have a savefile at 200us to do this.  I just want to be able to append the two results so any skill/calc/plot functions operate  correctly.

 

Thanks 

  • Cancel
  • EricCDN
    EricCDN over 16 years ago

    The first thing spectre does on a new simulation is delete the previous data run.

    To keep the data, you need to copy 0 - 200u to a new directory.  say input.raw200u

     Then restart and run 200u - 400u.  This data is saved in input.raw directory.

     You then need to build a calculator expression merging the two:

    v("out" ?result "tran-tran" ?resultsDir "./input.raw200u")+v("out" ?result "tran-tran" ?resultsDir "./input.raw")
     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • MarkASummers
    MarkASummers over 16 years ago

     That makes sense.  So I guess there is no way to get spectre to start from the point that it stopped so that in the end only one simulation results exists.  If not the workaround should work.

     

    Thanks 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 16 years ago

    Eric and I discussed this - adding the two waveforms will only work if the end point of the first and start point of the second are 0 - otherwise you get a DC offset caused by the extrapolation of the end points when you add two waveforms where the axis point ranges don't coincide.

    See sourcelink solution number 11522792 - this gives code for a "concatenation" function.

    Also, on the Direct Plot->Main Form, when using tran, there's an option to append to a previous result directory.

    Regards,

    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