• 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. Debugging slowness in expression evaluation in ADE

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 11559
  • 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

Debugging slowness in expression evaluation in ADE

Naci
Naci over 4 years ago

Hello everyone,

I am having issues with output expression evaluation in ADE Explorer/Assembler and calculation in the calculator tool. I am performing a parametric set sweep with 15 design points, which should not create a huge database. Regardless of if I need to plot one single curve or many curves at the same time, I need to wait minutes for the plotting to be completed. I have similar slowness in the calculator tool as well, even if the evaluated expression is quite simple. I use leafValue function in the calculations to access values from different design points.

My suspicions are:

  1. The tool may be trying to re-read all the database for each calculation (which may be a problem since our system consists of network drives and it may cause some delay in the process).
  2. Some functions used in the calculations, like leafValue, may be putting too much overhead.

Is there any way to see what the tool is running in the background and measure elapsed time for each step? I am not sure what the cause of the slowness is. So, I first need to find what is taking too long.

I am using ICADVM18.1-64b.500.13

Naci

  • Cancel
  • Naci
    Naci over 4 years ago

    I found that the longest time is spent for expressions including;

    leafValue(harmonic(v("/OUT" ?result "hb_mt_fi") '(0 1))  .... )

    Here is the experiment I made:

    • When I plot "vfreq('ac "/OUT")", it is super quick.
    • When I do "Plot All" for "vfreq('ac "/OUT")" for 15-design-point sweep, it is pretty fast.
    • When I plot "harmonic(v("/OUT" ?result "hb_mt_fi") '(0 1))" in a single design point, it takes more time than other signals.
    • When I do "Plot All" for the expression "harmonic(v("/OUT" ?result "hb_mt_fi") '(0 1))" for 15-design-point sweep, it takes such a long time.
    • When I plot a single curve with expression "leafValue(harmonic(v("/OUT" ?result "hb_mt_fi") '(0 1))  .... )", it takes longer than "Plot All" in the previous step.

    So, the slowness in my simulation stems from this "harmonic" function, and leafValue seems to worsen it.

    I would appreciate any explanation of the cause of this slowness and any solution suggestions.

    Naci 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to Naci

    Hi Naci,

    Please contact customer support. Trying to debug performance issues is likely to be almost impossible via the forums. It's unlikely to be leafValue that's the issue here - but I think understanding the nature of the data. Most likely the data should only be read once and cached, but further investigation with an application engineer is warranted here.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Naci
    Naci over 4 years ago in reply to Andrew Beckett

    Hi Andrew,

    Thank you for your answer. I understand. I will contact the support for further assistance. 

    Naci

    • 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