• 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. How to get psf directory when running from ade assembler...

Stats

  • Replies 1
  • Subscribers 143
  • Views 1517
  • Members are here 0

How to get psf directory when running from ade assembler?

hunTer
hunTer 5 months ago

I have an ocean script that I would like run at the end of some of my test runs when running from ade assembler.  I've been doing this by adding it to the tests output setup.  This script requires the knowledge of the test's psf directory to do some post processing.

The method I was trying to use is the following:

session = asiGetCurrentSession()
psfDir = asiGetPsfDir( session )

When I run with just one test selected the script runs without issue.  However, when multiple tests are selected, as one test finishes and runs the script, the directory being returned is for the test that is still running.

Am I doing something incorrectly or is there another methodology I should be using?

Thank you.

  • Sign in to reply
  • Cancel
  • hunTer
    hunTer 4 months ago

    I think I've found a work around, by creating an output expression for each test.

    Then calling calcVal( "PsfDir" ) to obtain the value for the output.  However, when calling calcVal, an error is reported in the CIW:

    "*Error* lineread/read: syntax error encountered in input"

    Aise from the error reported in the CIW, it all appears to be functioning okay.  Is this error expected or am I doing something incorrectly?  Any guidance/help is appreciated. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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