• 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. A problem with context file

Stats

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

A problem with context file

Renee
Renee over 14 years ago

Hi

I define a procedure to select design layer when I draw layout as below:

procedure(metal1()

    leiMouseSetEntryLayer(6)

);end

hiSetBindKey("Layout" "<Key>1" "metal1()")

 

I save this file into context by:

setContext("current")

load "set_layer.il"

saveContext("set_layer.cxt")

 Then, in the .cdsinit file, I write

loadContext("set_layer.cxt")

But when I start icfb and open a layout, I could not get the layer metal1 when I press <Key>1 button. I have to reload set_layer.il file and it says that those functions have been loaded.

Since it says so, it means that the context file is loaded. However, why can I use the bindkey?

Thanks in advance!

Lei

  • Cancel
  • Austin CAD Guy
    Austin CAD Guy over 14 years ago

     I don't think that the context saves the assignmentof the bindkey. It only saves the procedure and variable definitions. You may want to put the bindkey assignment in the context init procedure which runs when the context is loaded.

    • 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