• 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. asiGetPsfDir(asiGetCurrentSession()) do not return ADE assembler...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 961
  • 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

asiGetPsfDir(asiGetCurrentSession()) do not return ADE assembler simulation path for each sweep values

jlaj
jlaj over 2 years ago

Hi,

Inside ADE assembler i try to save files for each simulation (sweep), use python to perform some computation (python create a file)

Read back this file  to return waveform inside the outputs 

To write an read the files i use asiGetPsfDir(asiGetCurrentSession()). And everything seem to work except when i try to plot a waveform

When i tried to plot something ADE assembler try to re-compute everything. And this time  

asiGetPsfDir(asiGetCurrentSession()) do not return the same path. The new path do not depends on the number describing the simulation (points)

Interactive.142/1/TEST_1 => after simulation the  Points = 1   and so on

Interactive.142/psf/TEST_1/ => trying to plot

How can i get the correct path ?

Thanks

JL

  • Cancel
  • ShawnLogan
    ShawnLogan over 2 years ago

    Dea jlaj,

    I read through your Forum question a few times to try to understand it. Based on what I think I understand a couple of comments follow.

    jlaj said:

    asiGetPsfDir(asiGetCurrentSession()) do not return the same path. The new path do not depends on the number describing the simulation (points)

    Interactive.142/1/TEST_1 => after simulation the  Points = 1   and so on

    Interactive.142/psf/TEST_1/ => trying to plot

    How can i get the correct path ?

    The directory Interactive.142/psf/TEST_1 is the main results directory for  Interactive.142 and when opened in the Results Browser, can be used to plot all the waveforms in the entire Interactive.142 data base. For example, if your run contained 100 individual corners, the subdirectories of Interactive.142 would be 1, 2, 3,...,100. Each of these will contain the results for a single corner. There was also be a subdirectory "psf" and this contains essentially pointers to all the waveforms in the 100 corners.

    jlaj said:

    When i tried to plot something ADE assembler try to re-compute everything. And this time  

    asiGetPsfDir(asiGetCurrentSession()) do not return the same path.

    I do not know what specific results and what commands you are issuing to "plot". In the absence pf this, I cannot suggest on the behavior you are observing. What I might suggest is that you save the corner number you are working with prior to trying to plot it. Then, you can refer to the waveform(s) in that specific corner in a plot command. Alternately, write the waveform data to a temporary file from that corner and re-construct it in a new waveform window.

    Sorry I can not provide a more definite set of suggestions jlaj.

    Shawn

    • 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