• 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. get string variable value in an Ocean post-script

Stats

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

get string variable value in an Ocean post-script

Quentin S
Quentin S over 2 years ago

Hello,

I'm running simulations with Assembler and using an Ocean PostScript to compute my outpus.

For this I need to access some variables inside the database.

For some of them that are reals or integer, no issue. I can use the VAR fonction that will read the variable_file (I think) and get me the corresponding value.

For others, which are strings. I'm not able to get them and I can't even see them in the variable_file in the results DB. The only file in wich I can see them is the log file : 

Setting var Signal_file = "\"sources_smearing_maxSwing_center_40_lines-3.cir\""

Any idea on how to get the value of this string variable ?

Thanks

Quentin

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    Quentin,

    You should just be able to use VAR("Signal_file") in your OCEAN measurement script. I thought initially that you need to ensure that the designParamVals info database is saved from Outputs->Save All (in the Save circuit information analysis section), but it works even if that's not saved.

    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