• 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. Re-loading (and/or controlling) History Items in ADEXL ...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 5901
  • 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

Re-loading (and/or controlling) History Items in ADEXL view

Michele Ancis
Michele Ancis over 10 years ago

Hi all,

due to a mix of design manager software "issue" and Virtuoso crash, I can no longer see the list of history items I had when I reload my ADE XL view.

Basically, I had my ADE XL open in "read" mode and all these items are no longer available in the history pane.

However, the data is still in the simulation/results directory.

My question is whether you know of a simple way of re-integrating these items back in the view, so that I can access them from the common interface through a simple RMB->View Results...

I can think of ways of loading the data (as in with the Results Browser or OpenResults() from a script) and then go from there, but any solution I can devise is relatively cumbersome, especially because not all of my history items have meaningful names ;-) and refer to different simulations so I'll have to sift through them quite a bit.

Thanks as usual for helping!!

Michele

  • Cancel
  • Michele Ancis
    Michele Ancis over 10 years ago

    ...And compounding what Andrew replied in my other query about saving results, I found a nice

    axlViewResDB()

    which allows to navigate through the results stored in the simulation folder...That is already quite a help!

    To couple it with my other query about saving ADE XL outputs to file, I suppose once I open these DB's, I'd be able to save results from them?

    Cheers,

    Michele

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    Michele,

    This isn't really possible without Ninja-grade hacking, I'm afraid. Even then I'm not convinced it would be worth the effort (it would entail quite a lot of manual work)... it also would be incomplete too because not all the information is necessarily stored in the simulation results directory.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Michele Ancis
    Michele Ancis over 10 years ago

    Hi Andrew,

    not sure what you are qualifying as Ethan Hunt level:

    re-inserting history items in the ADE XL view, or

    saving to file from a resultsDB?

    I wrote the answer below thinking more of the second item...

    Hi Andrew,

    ok I'm sure that what you are figuring out is pretty Ninja, but I was more thinking of the layman approach...

    In this very blurred view of mine, opening results database just pops up the information I'd like to save. It is a matter of dragging a big

    rectangle over the data and copy-pasting them. From that to saving these through a few calls to clever functions, did not seem too daunting.

    But maybe it is, in practice.

    The way I was thinking of doing it, which I think is cumbersome by the way, is by:

    1 - opening the ADE XL view that does not have the results in the history, but does have the output definitions

    2 - save the outputs to file (for a given test of interest)

    3 - automatically (!) convert the outputs format to an ocn type of my_var = my_function type of definitions, then add an fprint()

    statement with the variables to be output, mimicking the CSV format.

    4 - prepend the file generated in 3 with a OpenResults()

    load

    This should work although as I say, it is much more work in set up than just finding the way to reinsert the DB handle into the ADE XL view and go from there...

    Thanks for bearing with me ;-)

    Michele

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    Michele,

    Michele Ancis said:
    just finding the way to reinsert the DB handle into the ADE XL view and go from there...

    This is the bit which requires the large-scale hacking. There's no "just" about it. It's more than just a handle - the history contains all the state information, pointers to results locations, and various other things - and there aren't public APIs to do all this anyway. It could be done, but it's really a good way of corrupting  your ADE XL database if you get it wrong.

    The RDB viewer that you used doesn't have an export, but what you could use is similar to code that I pointed you at before:

    In that post, go down to the bit starting axlReadHistoryResDB, and from that point onwards you can see the code to traverse the result database and then print it out. Rather than using axlReadHistoryResDB, you could use rdb=axlReadResDB("/path/to/Interactive.2.rdb") - you don't have to have an ADE XL view open to do this. If all the data you want is scalar, this should be pretty straightforward. 

    This approach shouldn't be Mission Impossible ;-)

    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