• 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. Re: How do I call "load /path/usr/test.il" using bindkeys...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 2782
  • 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

Re: How do I call "load /path/usr/test.il" using bindkeys?

Rahim Abdulla
Rahim Abdulla over 12 years ago

 Hi

 

Can you please help me in this regard.

I would like to load a skill script using a bindkey in virtuoso.

like key 1 for load "/path/usr/test.il"

 

Regards,

Rahim.

  • Cancel
  • Rahim Abdulla
    Rahim Abdulla over 12 years ago

     

    Hi

     

    Can you please help me in this regard.

    I would like to load a skill script using a bindkey in virtuoso.

    like key 1 for load "/path/usr/test.il"

     

    Regards,

    Rahim

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

    hiSetBindKey("Schematics" "<Key>1" "load(\"/path/usr/test.il\")")

    Better would be to define a function inside test.il and then your bindkey can call it and not keep loading the file each time.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Deepon Saha
    Deepon Saha over 12 years ago
    Hello Rahim,

    Its quite simple, at first check if you have a .cdsinit file in the library (the folder in which you run virtuoso), if not create one/add the following lines:

    load(prependInstallPath("/path/test.il"))

    So, the script will be automatically loaded, now in the script, use the bindkey command so that the particular function is loaded whenever you press a certain key.
    eg.: bk("Layout" "<Key>up"   "geScroll(nil \"n\" nil)")

    [This will bind the graphics editor (ge) function to scroll with the 'up' key.]

    Let me know if you need any further help.
    • 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