• 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 SKILL
  3. Programmatically accessing the list of results in ADE-X...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 15358
  • 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

Programmatically accessing the list of results in ADE-XL

aakhavan
aakhavan over 7 years ago

I need to get a list of psf directories for all of the simulations shown in a given "Results" tab in ADE-XL. At the moment, I'm using asiGetPsfDir(asiGetSession(hiGetCurrentWindow())), then parsing the runObjFile to find the results directory for each corner. This is not a very robust approach, and it fails completely when multiple tests are run. Is there a better way?

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

    You can do this:

    rdb=axlReadHistoryResDB("Interactive.6")
    foreach(test rdb->tests()
      printf("Point: %d Corner %L Test %s resultsDir %s\n" test->pointID test->cornerName test->name test->resultsDir)
    )

    This will give you the result for each sweep point, corner name and test combination. 

    You certainly should not try to parse the (undocumented) runObjFile.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • yxie
    yxie over 6 years ago in reply to Andrew Beckett

    Where do I run this script? I ran it in Ocean and it wasn't successful, complained about the first argument, not sure which, probably "foreach(myTest rdb->myTest() ". BTW. This is exactly what I am looking for, since I had a few instances my ADE-XL sim were crashed before finishing and I was trying to salvage the finished sims.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • yxie
    yxie over 6 years ago in reply to Andrew Beckett

    Where do I run this script? I ran it in Ocean and it wasn't successful, complained about the first argument, not sure which, probably "foreach(myTest rdb->myTest() ". BTW. This is exactly what I am looking for, since I had a few instances my ADE-XL sim were crashed before finishing and I was trying to salvage the finished sims.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to yxie

    You would open ADE XL and then go to the history tab, and over the history you want, use Right Mouse->View Results. Then you could use the code above in the CIW with of course the correct history name.

    Not entirely sure why you'd need to do this though rather than just viewing the results in ADE XL using View Results.

    Regards,

    Andrew.

    • 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