How to define hotkeys in Cadence

K

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 wrote:
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?
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
 
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.



Kuan Zhou <koy2@cisunix.unh.edu> wrote in message news:<Pine.OSF.4.61.0411181409480.479043@hypatia.unh.edu>...
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
 
In article <cnk54s$noe$1@athen03.muc.infineon.com> Svenn Are Bjerkem <svenn.are@bjerkem.de> writes:
Kuan Zhou wrote:

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?

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...
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
(phz@seeheader.nospam)

Reporter (to Mahatma Gandhi): Mr Gandhi, what do you think of
Western Civilization?
Gandhi: I think it would be a good idea.
 

Welcome to EDABoard.com

Sponsor

Back
Top