• 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. Using Ocean Script in cross corner simulation in Assemb...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 126
  • Views 5712
  • 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

Using Ocean Script in cross corner simulation in Assembler

Abhrarup
Abhrarup over 1 year ago

Hi,

This is a very basic doubt because the same code is not working with the ICFB version i am using. 

I want to add ocean script to ADE-ASSEMBLER and capture data across corner and store them in separate files. I have one doubt and facing one problem -

1) openResults("./psf") is NOT working : the path is not found by the compiler. I do not want to provide an exact path since this would require me to change the file for each run becase the directory gets updated every run

2) If i get to make 1 run, then i want to accces a bunch of data from each run and store them in a different files for each corner. How can i do this ?

ICFB  version : CDS: virtuoso version 6.1.8-64b 08/09/2022 19:25 (cpgsrv11)  , subversion : sub-version  IC6.1.8-64b.500.27

Thanks!

Abhrarup

  • Cancel
  • ShawnLogan
    ShawnLogan over 1 year ago

    Dear Abharup,

    Abhrarup said:
    I want to add ocean script to ADE-ASSEMBLER and capture data across corner and store them in separate files. I

    On several occasions in this Forum, I have provided an ocean script that will traverse the Assembler hierarchy for corner simulations and access each of its simulation corners. For each corner, you may access the results for that corner and do whatever post-processing you want. You may write the data to one or more files. For example, you may want to access a single result from each corner simulation and summarize the results for all corner simulations in a single file.

    The script contains comments so you may modify it for your use. The basic script is in the Forum post at:

    https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/43159/way-to-use-skill-script-to-save-waveform-into-a-file-in-ade-xl-run

    Modify the maximum number of corners to the number of sweeps in your analysis and provide the paths to your results directory as well as the name of your test in the sample code in the lines:

    base_results=strcat("<path_to_your_results>/maestro/results/maestro/Interactive.X/")

    Note: the code in the year old post shows the ADE-XL path - please use the slightly different line above for the Maestro results

    sub_dir = strcat("<Maestro test name>")

    Place your data access commands after the comment:

    ; Load waveform "vc"

    The data access commands for the operating point information are provided in the prior URL I referred you to regarding accessing operating information with ocean.

    The sample script I provided is for a transient analysis and you may need to change it to the type of results you wish to access. One of the two possible ASCII files in the ocean script contains the results for all the corner runs and hence will have {number_of_corners)+1 lines (+1 since you can include a header). 

    I hope this helps Abhrarup,

    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