• 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. how to read input of cadence in a skill code

Stats

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

how to read input of cadence in a skill code

egxoner
egxoner over 13 years ago
hi
in my skill code i want to read inputs of cadence. i want to read it in a if function.
for example i wanna count how many times the ctrl+e button is pressed when designing.
  • Cancel
  • dmay
    dmay over 13 years ago

    Why don't you parse the CDS.log file looking for the command called by ctrl-e? Something like the following will give you the count:

    grep schHiDescend CDS.log | wc -l

    Or, you could modify the bindkey to increment a counter on a global variable.

     _DESCEND_COUNTER=0
    hiSetBindKey("Schematics" "Ctrl<Key>e" "_DESCEND_COUNTER++ schHiDescend() println(_DESCEND_COUNTER)")

    Also, I think Cadence has offers the ability to analyze function usage. It might be a Cadence service you'll have to request. Check with Cadence on this one.

    Derek

    • 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