• 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. Running AC and DC simulation in the same time

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 125
  • Views 17761
  • 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

Running AC and DC simulation in the same time

NorNand
NorNand over 5 years ago

Hello,

I am trying to simulate the input common mode range of my operational amplifier using Cadence Virtuoso and spectre ADE.

The simulation concept is to sweep the input common mode DC voltage (VIC) and run the AC simulation for every step to find the GBW and gain for every step of  VIC.

To implement this principle, I run both AC and DC simulation in the same time. the AC simulation is to find the gain and GBW, while I use the DC simulation to sweep the VIC.

When I run it, the simulator is not doing it is suggested above, he only consider the default value of VIC and run the AC simulation one time. means he is not actually sweeping the DC. Why ?

I made a solution to avoid this problem by sweeping the VIC from parametric not by DC simulation and it is working properly. the only issue with parametric it consumes more time, thus I still wonder about the first setup

Thank you

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

    To do what you are asking for, you need to do a sweep around the AC analysis. An AC analysis, like DC and transient can sweep one variable - for AC that is typically frequency, but it can be something else (e.g. a parameter or temperature) and then the AC is computed at a single frequency. If the DC operating point is affected by whatever you are sweeping, it is recomputed before computing the AC for the single frequency you specify. DC is similar - you can sweep a parameter or temperature.

    If you need to do a frequency sweep and sweep something else, you need to do a nested sweep. Spectre itself supports a native sweep analysis, but ADE doesn't generally take advantage of this (there are a few case where ADE does use spectre's sweep analysis, but this is not one of them).

    However, if you run ADE Explorer to set up the surrounding sweep, then spectre would (normally) run with similar efficiency to having a native sweep. That's because it groups the runs and ADE tells spectre to run each set of analyses without quitting the simulator - so you don't need to generate a new netlist, re-start the simulator, regain the license, parse the netlist and so on - spectre will change the parameter value in memory.

    ADE L can do this too (to some extent) with the parametric analysis tool.

    It's possible that your setup is defeating the performance improvement to make parametric sweeps faster - to know that, I'd need to know which ADE flavour you're using and which version of the IC tools you're using. Then I can ask you some relevant questions. Fundamentally though, you need to do a parametric sweep of some sort around the AC analysis - so that will inevitably be slower because it has to repeat the AC sweep for each outer variable sweep point.

    Regards,

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • NorNand
    NorNand over 5 years ago in reply to Andrew Beckett

    Hello Andrew,

    Thank you for your reply

    I am using ADE L,   Spectre Simulator version 11.1.0.509      2012 

    and Cadence Virtuoso IC6.1.5-6b bit

    We don't have ADE Explorer in our platform

    Thank you Andrew again

    Regards 

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

    OK, check what:

    envGetVal("spectre.envOpts" "controlMode")

    returns. If that returns "interactive", then doing the parametric sweep should be quick (assuming you're not running in distributed mode in ADE L). If it's set to "batch" then do:

    envSetVal("spectre.envOpts" "controlMode" 'string "interactive")

    and restart ADE L and try the parametric analysis tool again.

    ADE Explorer was introduced in IC617. You're using very old and unsupported versions at the moment (7 years or so old).

    Regards,

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • NorNand
    NorNand over 5 years ago in reply to Andrew Beckett

    Dear Andrew, 

    That was very helpful, the Parametric analyses is now working faster with your last suggested setting. 

    I have a question related to this solution, is the simulation accuracy reduced when we make it faster?

    Thanks

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

    NorNand said:

    I have a question related to this solution, is the simulation accuracy reduced when we make it faster?

    No, it's not.

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • NorNand
    NorNand over 5 years ago in reply to Andrew Beckett

    Thank you Andrew for your kind help

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

    Thank you Andrew for your kind help

    • 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