• 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. Running 2 procedures or function in 1 bindkey

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 144
  • Views 14991
  • 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

Running 2 procedures or function in 1 bindkey

GDCRA
GDCRA over 8 years ago

Hi,

I was spying on skill command in CIW when I am doing some graphical actions such as clicking netlistcreat form and clicking "Apply" in order to create netlist.

I thought I will able to create keybinding to run this step, so I was trying

hiSetBindKey("Schematics" "<Key>F12" "xcreateNetlist() _hiFormApplyCB(xcreateNetlistForm)")

But its on working. For some reason, it get stucked at 1st stage of opening form. When I close this form, it perform 2nd part of nestling. So its waiting for something between step 1 and step 2.

Can someone help here ?

Thanks

  • Cancel
Parents
  • skillUser
    skillUser over 8 years ago
    Hi,

    Most likely the form is blocking, so as soon as it is displayed the code afterwards (applying the form callback) doesn't get executed. I think that Ramakrishnan may be correct in that you can use hiEnqueueCmd():

    hiSetBindKey("Schematics" "<Key>F12" "hiEnqueueCmd(\"_hiFormApplyCB(xcreateNetlistForm)\") xcreateNetlist()")

    However, it is often better to look for an API that is not dependent on the form/GUI - can you investigate what the form callback is and see if you can call that directly? [You may not be able to do this if the callback depends on the form structure and the values collected there].

    Best regards,

    Lawrence.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • skillUser
    skillUser over 8 years ago
    Hi,

    Most likely the form is blocking, so as soon as it is displayed the code afterwards (applying the form callback) doesn't get executed. I think that Ramakrishnan may be correct in that you can use hiEnqueueCmd():

    hiSetBindKey("Schematics" "<Key>F12" "hiEnqueueCmd(\"_hiFormApplyCB(xcreateNetlistForm)\") xcreateNetlist()")

    However, it is often better to look for an API that is not dependent on the form/GUI - can you investigate what the form callback is and see if you can call that directly? [You may not be able to do this if the callback depends on the form structure and the values collected there].

    Best regards,

    Lawrence.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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