How to define hotkeys in Cadence

Discussion in 'Cadence' started by Kuan Zhou, Nov 18, 2004.

  1. Kuan Zhou

    Kuan Zhou Guest

    Hi,

    I want to define hotkeys in Cadence. I used IBM SiGe design kit and the
    hotkey defition file is bindkey.il. However, when I switch to NCSU design
    kit, I don't know how to define hotkeys. I want to have the same hotkeys
    no matter what technology I am using. Can anybody give me some
    suggestions?

    Kuan
     
    Kuan Zhou, Nov 18, 2004
    #1
  2. You can use hiSetBindKey() in your .cdsinit file. Because .cdsinit is
    read last, you will overwrite bindkey set by other files.

    example
    hiSetBindKey( "Schematics" "Ctrl<Key>e" "schHiEditInPlace()" )

    To find your current bindkeys, use CIW:Options->Binkey...
     
    Svenn Are Bjerkem, Nov 19, 2004
    #2
  3. Hi Kuan,

    Most likely there will be a ".cdsinit" file on your Cadence run
    directory. If so, add this command to the file: load("bindkey.il") ,
    with bindkey.il being your "bindkeys", as we call them... The .cdsinit
    file is always loaded automatically when you initiate Cadence.

    What you can do if the file is not there:
    1. create one, with the load-command added as explained
    2. enter the load-command directly in your CIW (when Cadence is up &
    running)

    Hopefully this works...

    Gerd.
     
    Gerd Beeckman, Nov 19, 2004
    #3
  4. Kuan Zhou

    Guest Guest

    Note that if you are defining multiple bindkeys, it is MUCH more efficient
    to use one call to hiSetBindKeys() rather than multiple calls to
    hiSetBindKey(), unless you ensure that all the calls to hiSetBindKey() are
    made before the first window is opened for the application the bindkeys are
    being set for.

    I've seen at least one instance where it took several seconds to perform a
    "descend edit" operation because bindkeys were loaded after the window was
    opened, and the bindkeys were set with multiple calls to hiSetBindKey().

    One way to convert to a single hiSetBindKeys call is to bring up the bindkey
    form From the CIW Options menu, select the appropriate Application Type Prefix
    and press the "Show Bind Keys" button. This will bring up a viewfile window
    which contains a single hiSetBindKeys() command for all bindkeys defined at
    that point which can be saved to a file from the File menu of the window.

    -Pete Zakel
    ()

    Reporter (to Mahatma Gandhi): Mr Gandhi, what do you think of
    Western Civilization?
    Gandhi: I think it would be a good idea.
     
    Guest, Nov 19, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.