• 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. RF Design
  3. How to reuse circuit INITIAL conditions (at simulation time...

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 63
  • Views 4914
  • 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

How to reuse circuit INITIAL conditions (at simulation time t=0) at multiple instants during a single transient run

RFStuff
RFStuff over 5 years ago

Dear All,

I want to inject a pulse current at certain node of a periodic circuit like Oscillator.

I need to check the oscillator's steady state phase shift if the pulse injection happens at different instants during one period of oscillation.

This can be done, by running multiple simulations ( basically a parametric sweep) with shifted instants of pulse injection.

But, running multiple simulations is very time consuming.

To speed up the simulation process, one can run the simulation at one go with reusing circuit INITIAL conditions (at simulation time t=0) at multiple instants. 

For example:- If total duration is 1000 ns, I can reuse the INITIAL condition at 200ns, 400ns, 600ns ... ... 800ns, The pulse injection can happen at 150ns, 460ns,670ns ..... 890ns (shift of 10nS from the previous instant).

Can anybody please tell how this can be achieved ?

Kind Regards,

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

    I don't think I understand why you would want to do this (you can't anyway). The initial conditions can only be used during the initial transient solution (the DC before the transient) and not re-applied part way through a transient (I have no idea why that would be useful, or why that would be any more advantageous than just running a separate transient simulation with each initial condition).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RFStuff
    RFStuff over 5 years ago in reply to Andrew Beckett

    Dear Andrew,

    I think running multiple new transient simulations will take more time as each time it has to find DC convergence, initial condition (apart from other stuffs needed to be done at the beginning).

    Is there a way we can run multiple new transient simulations yet, we can avoid the initial repetitive stuffs so that it can be fast like a single tran simulation.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • RFStuff
    RFStuff over 5 years ago in reply to Andrew Beckett

    Dear Andrew,

    I think running multiple new transient simulations will take more time as each time it has to find DC convergence, initial condition (apart from other stuffs needed to be done at the beginning).

    Is there a way we can run multiple new transient simulations yet, we can avoid the initial repetitive stuffs so that it can be fast like a single tran simulation.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to RFStuff

    Given that initial conditions are applied during the DC before a transient analysis, then no. They are used to intentionally force the DC solution to something other than what it would find normally, but that's work that has to be done and can't be avoided. Yes, it could have avoided the initial netlist read maybe, but if you did this using a parametric analysis in ADE L or a variable sweep in ADE Explorer, it can do this within a single invocation of the simulator and that would be saved. 

    It's unclear to me how this would (or could) be any faster - the DC should be very quick if the initial conditions match the circuit...

    The best thing would be to contact customer support so somebody can look at your actual circuit and understand what's going on here.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RFStuff
    RFStuff over 5 years ago in reply to Andrew Beckett

    Dear Andrew,

    Can we save the initial condition (let's say when the circuit stabilizes) and reuse it in subsequent iterations.

    This way if we run in a SKILL script, things can be faster.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 5 years ago in reply to RFStuff

    Dear RFStuff,

    RFStuff said:
    Can we save the initial condition (let's say when the circuit stabilizes) and reuse it in subsequent iterations.

    The use of an .ic file to set the initial conditions in a spectre transient simulation is very well known and very well documented in the Cadence documentation. A recently updated document is attached and could have been easily found by doing a search on Sourcelink. There is also a techique to create an initial condition file at an intermediate point of a transient simulation if you run spectre interactively - see this: Nodeset and Initial Condition usage in Spectre simulations

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to ShawnLogan

    In addition to what Shawn said (note Shawn, I edited your post to reference th article on support.cadence.com rather than re-posting it here, which isn't allowed), you can also use the save/recover capabilities of spectre to save a snapshot at an instant in time (see the savetime/saveclock/saveperiod/savefile/recover options in "spectre -h tran"), which would then re-start from that time quickly.

    However, I don't see why running via a SKILL script would make the simulation faster. I must be missing something here.

    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