• 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. Ocean script and bindkeys

Stats

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

Ocean script and bindkeys

PSGcad
PSGcad over 14 years ago

Hi,

 I have set a few bindkeys in my .cdsinit for schematics and Wavescan and that works well. Problem is when I run my ocean scripts from a shell (not from icfb) it doesn't seem to read the .cdsinit and therefore my bindkeys aren't working when I look at my simulation results in Wavescan.

How can I put those bindkeys in the ocean script itself? Or maybe I could load a bindkeys file as part of the ocean script ... how do I do that?

Thanks.

 - Patrice

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Patrice,

    The "ocean" executable reads a file ".oceanrc" rather than ".cdsinit" - so you could use that.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • PSGcad
    PSGcad over 14 years ago

     Hi Andrew,

     Thanks for the tip, it works like a charm if I want general bindkeys, but what if I want to have specific bindkeys for specific ocean scripts? (For instance if I want the key "1" to zoom-in on the X-axis from 0 to 1ms and on another script I want that to be 0 to 100ms). Obviously I could assign another key to that second X-axis range but is it possible to keep the same one?

    Thanks,

    - Patrice

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

    Patrice,

    Of course, you can put specific bindkey definitions in each OCEAN script. OCEAN is just SKILL, after all. I just thought you might be really wanting to have a common set without needing to update every script.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • streethawk
    streethawk over 12 years ago

     Hi Andrew,

     I am very new to the OCEAN environment.

    I have my cdsinit file which contains pathnames to specific BindKeys files. I can use this when i launch icms, however, just for curiosity I saved the ocean script and ran the same sim through ocean and it ran well but my bindkeys were not active.

    On further investigation realised that ocean initializes with .oceanrc and not .cdsinit, so i added a 

    load(/~/.cdsinit) to my .oceanrc and ran the sim again and I still wasnt able to run the bindkeys in my waveform editor... wondering what the issue is..

     Thanks

     

     

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

    Did you omit the quotation marks? (i.e. you'd need to do load("~/.cdsinit") not what you typed) .

    Which version are you using?

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • streethawk
    streethawk over 12 years ago

     I have the quotation marks...IC 5.1

     Nihar

     

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

    Nihar,

    Can you put this in your .oceanrc and see what it shows when you start "ocean":

    printf("before load\n")
    loadi("~/.cdsinit")
    printf("after load\n")

    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