• 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. Mixed-Signal Design
  3. ADE-XL pre-run sequence confusion

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 64
  • Views 13820
  • 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

ADE-XL pre-run sequence confusion

danmc91
danmc91 over 9 years ago

Hello,


I think I'm missing something fundamental about when a pre-run script is or is not run in ADE-XL.  What I'm trying to achieve is:

- define a small handful of process corners in the Corners section.

- my test involves running a transient simulation and extracting a scalar (actually a small handful of scalar) value

- for each corner

  1. run the pre-run at a nominal temperature and supply (my pre-run script enforces this part) to do a SA calibration routine to obtain some digital trim codes
  2. for each supply voltage in min/nom/max do:
    1. run a temperature sweep keeping the pre-run trim and producing a plot of my scalar values versus temperature
  3. record the max-pre_run_nom and min-pre_run_nom values of these scalars (can calcVal() access a pre-run result?)

- tabulate my trim codes over process corner

- tabulate my min/max deviations over temperature and supply for each process corner

What I'm seeing is that if I try to sweep tempeature by defining a global variable called "temperature" with a sweep spec, the pre-run script is run for each point.  That gives a huge overhead because I have 12 bits that are obtained via SA which means my trim sims take 12x as long as a single temperature point and thus the whole process takes 12x as long.  Also I've noted that if I right click on one of these results in the Results tab and do "plot across design points" I get a plot of the value versus numbered design points where I'd like the x-axis to be the temperature.

The last bit is I can't then seem to define overall output for a process corner which is the min/max deviation from the pre-run condition of my outputs.


Unfortunately this is about what I've hit each time I've tried to make the jump from Ocean to ADE-XL.  I feel like I'm really close but can't quite get what I actually want.  Then I typically get frustrated and go back to the ocean sims but lose out on things like the more built in ability to parallelize jobs and more automatically show limits.

Thanks

-Dan

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

    Hi Dan,

    I suspect that my answer to your other post is going to be the easiest way of doing this, but the pre-run script is indeed run before every simulation. However, you can (with a bit of smartness) avoid it actually running a simulation every time. We have some workshop data that shows how to do a number of these more complex scenarios, and can provide that to help explain how to use pre-run scripts.

    For this however, you'll need to contact customer support as it's not published in a public place. It's a bit too much of a lengthy explanation for me to post here (I only have limited time today and I'm trying to get through a bit of a backlog of questions on the forums so am having to keep my responses short).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Hi Dan,

    I suspect that my answer to your other post is going to be the easiest way of doing this, but the pre-run script is indeed run before every simulation. However, you can (with a bit of smartness) avoid it actually running a simulation every time. We have some workshop data that shows how to do a number of these more complex scenarios, and can provide that to help explain how to use pre-run scripts.

    For this however, you'll need to contact customer support as it's not published in a public place. It's a bit too much of a lengthy explanation for me to post here (I only have limited time today and I'm trying to get through a bit of a backlog of questions on the forums so am having to keep my responses short).

    Regards,

    Andrew.

    • 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