• 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. Negative time step with ADE_L transient simulation

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 125
  • Views 3608
  • 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

Negative time step with ADE_L transient simulation

ccsim
ccsim over 1 year ago

I have an application that is calling external c-code in using verilog-A for a transient circuit simulation. The c-code saves a log file that reports the time steps the simulation sent it, and I've noticed that sometimes the time-steps are negative.

The c-code is tracking the state of a circuit between function calls. I need to know the correct behavior to take when Cadence asks for a negative time step.

Should I run the system backwards in time? i.e. if I have a resistor in series with a capacitor in my c-code, and the resistor is biased so that current flows through the resistor and onto the capacitor, should I remove charge from the cap during a negative time step? Or should I ignore that time step and keep the initial state of my circuit?

What is the solver doing that it needs to take negative time steps, and are they avoidable? 

Thanks!

  • 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