• 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. Run/Plot Single Transient Simulation Multiple Times

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 126
  • Views 2394
  • 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

Run/Plot Single Transient Simulation Multiple Times

CRTejaswi
CRTejaswi over 2 years ago

How do I run a single transient simulation N=100 times using ADE-L/ADE Explorer (GUI) or ADE Assembler (SKILL) & plot it ?

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    What is varying between these runs? It's not clear what you are doing here. You are talking about running a single simulation 100 times - presumably something must be changing (otherwise why would you bother). It's also unclear to me what would be the issue with plotting the results - this should just work. What are you trying and what doesn't work?

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • CRTejaswi
    CRTejaswi over 2 years ago in reply to Andrew Beckett

    The switching current is defined as a stochastic parameter (exponential & normal distributions), hence the switching duration & peak current values are  expected to change with every run. The device is modeled using VerilogA, and I'm trying to simulate this simple circuit.

    MTJ Characteristics

    How do I run the same transient simulation several times?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 2 years ago in reply to CRTejaswi

    Dear CRTejaswi,

    CRTejaswi said:
    How do I run the same transient simulation several times?

    I can think of a couple of potential options and will let you decide which, if any, might be best for your application.

    1. If neither your verilog-A model nor R3 are temperature dependent, you can set up an Assembler corner run with the temperature varied from 0 to 99 with a 1 degree increment

    2. Add a voltage source whose DC value is a variable "sim_count/100" [1] and connect it between ground and new node "vsim_number". Connect new node "vsim_number" to a "no-connect" or, say, a 1 K resistor R1 to ground. Sweep the variable sim_count from 0 to 99 with an increment of 1 to perform 100 simulations. This will allow you to easily identify each simulation corner with the variable sim_count's value.

    I hope I understand your intent and these two thoughts provide spark an idea or two for you.

    Shawn

    [1] I include the divisor of 100 to limit the output voltage source to less than 1 V. 

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to ShawnLogan

    Keep it even simpler - just add a dummy variable and sweep that. There's no need to actually use it in the circuit or changing anything with an actual effect like temperature.

    Of course, you're going to have to make sure that your random generator gives different results each time. Normally they wouldn't unless the seed is set differently - so maybe you end up making the seed a variable and sweeping that?

    Andrew

    • Cancel
    • Vote Up +1 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