• 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. BindKey - Error in IC6

Stats

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

BindKey - Error in IC6

Peter123
Peter123 over 12 years ago

Hi experts,

 I'm facing some issue with pre-loaded bindkeys after virtuoso upgraded from IC5.1.X to IC6.1.X.

The Error is related to the skill command "leSetAllLayerValid" (complaining cannot get current techfile in the LSW").

I believe this is due to the diff program loading sequence, as in IC6.1.X, the Palette(or LSW) will only present when a cell is open in virtuoso.

unlike in IC5.1.X, the LSW will be loaded before a cell is open. (leSetAllLayerValid won't return error because LSW is present)

Anyone can help me to resolve this issue?

Thanks,

Peter

 

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago
    Please provide some more details as to how you are calling this function. If it is from a bindkey for the layout editor, I don't see why it should be an issue, since the layout window would be loaded and initialized in both cases.

    I'm not sure there's a significant difference between versions in how this function behaves, but to be certain I'd need to know when and how it is called, and the exact subversion of IC6 you're using (type getVersion(t) in the CIW to get this).

    Thanks,

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

    Thanks Andrew,

    The function is the 1st function in my bindkey.il.

    I made the bindkeys auto loaded by putting the command "load"/xx/xx/bindkey.il" in my .cdsinit.

    The order of virtuoso loading program: XX>XY>read .cdsinit>YY>....>library manager.

    The error is due to vrituoso loading the bindkey.il earlier openning a cell (LSW present).

    Pls advice.

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago
    Defining a bindkey (if done properly) should not cause a problem because it wouldn't call the function when it's defined (the callback for the bindkey is a string, which is evaluated when you press that key).

    It would be far easier if you shared the contents of the bindkey.il file rather than having to guess what you've done that is causing this problem.

    Thanks,

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

    Hi Peter,

     I think you just need to enclosed your bindkey statements with the function when( isCallable( .......)  you will see the same strategy if you do "show bindkeys" from CIW-->options-->bindkeys.

     

    BR ~lrlsk

    • 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