;****************************************************************************** ; schBindKey.il - Copyright (C) 1997 Cadence Design Systems, Inc. ; All Rights Reserved. ; ; This file contains example bind keys for use in Composer as follows: ; Schematic editor - prefix "Schematics" ; Symbol editor - prefix "Symbol" ; Read HDL - prefix "Read HDL" (only if SKILL context loaded) ; ; $Author: abw $ ; $Revision: 1.47 $ ;****************************************************************************** ; The following alias is used in this file to make the bindkey definitions ; more readable. It is unaliased at the end of the file. ; alias bk hiSetBindKey ; Instead of doing license checking, we check that a base level ; sch function is callable. If not, don't define the bindkeys. ; when( isCallable('schGetEnv) ; General bindkeys (prefix "Schematics"). These bindkeys call ; graphics editor ("ge") and human interface ("hi") functionality. ; bk("Schematics" "F6" "hiRedraw()") bk("Schematics" "Down" "geScroll(nil \"s\" nil)") bk("Schematics" "Up" "geScroll(nil \"n\" nil)") bk("Schematics" "Right" "geScroll(nil \"e\" nil)") bk("Schematics" "Left" "geScroll(nil \"w\" nil)") bk("Schematics" "a" "geSingleSelectPoint()") bk("Schematics" "Ctrla" "schSelectAllFig()") bk("Schematics" "Shifta" "schSingleSelectBox()") bk("Schematics" "d" "geSubSelectPoint()") bk("Schematics" "Ctrld" "schDeselectAllFig()") bk("Schematics" "Shiftd" "schSubSelectBox()") bk("Schematics" "f" "schZoomFit(1.0 0.9)") bk("Schematics" "Ctrlf" "schSetSelectOptions()") bk("Schematics" "Shiftf" "hiZoomAbsoluteScale(getCurrentWindow() 0.9)") bk("Schematics" "o" "schHiDisplayOptions()") bk("Schematics" "Shifto" "schHiEditorOptions()") bk("Schematics" "q" "schHiObjectProperty()") bk("Schematics" "q EF" "schHiObjectProperty()") bk("Schematics" "Shiftq" "schHiCellViewProperty()") bk("Schematics" "Shiftq EF" "schHiCellViewProperty()") bk("Schematics" "u" "hiUndo()") bk("Schematics" "Shiftu" "hiRedo()") bk("Schematics" "v" "hiVectorPan()") bk("Schematics" "Ctrlv" "hiFocusToCIW(hiGetCurrentWindow())") bk("Schematics" "z" "hiZoomIn()") bk("Schematics" "Ctrlz" "hiZoomOut()") bk("Schematics" "Shiftz" "hiPrevWinView(hiGetCurrentWindow())") bk("Schematics" "[" "hiZoomRelativeScale(getCurrentWindow() 0.8)") bk("Schematics" "]" "hiZoomRelativeScale(getCurrentWindow() 1.25)") bk("Schematics" "Shifts" "schHiSaveCellView()") bk("Schematics" "Ctrls" "geSaveAs()") bk("Schematics" "9" "geAddNetProbe()") bk("Schematics" "Shiftg" "schHiFindMarker()") bk("Schematics" "Ctrlg" "geHiDeleteMarker()") bk("Schematics" "g" "schHiFindMarker()") ; Specific bindkeys (prefix "Schematics"). These bindkeys are bound to ; schematic editor ("Schematics") functionality. ; bk("Schematics" "None" "schSingleSelectPt()") bk("Schematics" "Shift" "schAddSelectPt()") bk("Schematics" "" "schDirectEdit(1)") bk("Schematics" "Shift" "schDirectEdit(2)") bk("Schematics" "Ctrl" "schDirectEdit(3)") bk("Schematics" "None(2)" "schExtendSelectPt()") bk("Schematics" "None(2) EF" "schMouseApplyOrFinish()") bk("Schematics" "None" "schHiMousePopUp()") bk("Schematics" "None EF" "schHiMousePopUp()") bk("Schematics" "None EF" "schCmdOption()") bk("Schematics" "Shift EF" "schShiftCmdOption()") bk("Schematics" "Delete" "schHiDelete()") ; Uncomment following line for HP 700 delete key binding. ; bk("Schematics" "ShiftEscape" "schHiDelete()") bk("Schematics" "b" "schHiCreateBlockInst()") bk("Schematics" "c" "schHiCopy()") bk("Schematics" "i" "schHiCreateInst()") bk("Schematics" "h" "schHiHiliteLabel(\"wire\" \"on\")") bk("Schematics" "Shifth" "schHiHiliteLabel(\"wire\" \"off\")") bk("Schematics" "8" "schHiHiliteLabel(\"instance\" \"on\")") bk("Schematics" "Shift8" "schHiHiliteLabel(\"instance\" \"off\")") bk("Schematics" "l" "schHiCreateWireLabel()") bk("Schematics" "Shiftn" "schHiCreateNoteLabel()") bk("Schematics" "Shiftl" "schHiCreateNoteLabel()") bk("Schematics" "m" "schHiStretch()") bk("Schematics" "Shiftm" "schHiMove()") bk("Schematics" "p" "schHiCreatePin()") bk("Schematics" "5" "schHiRouteFlightLine()") bk("Schematics" "r" "schHiRotate()") bk("Schematics" "Ctrlr EF" "schSetEnv(\"upsideDown\" t)") bk("Schematics" "Shiftr EF" "schSetEnv(\"sideways\" t)") bk("Schematics" "r EF" "schSetEnv(\"rotate\" t)") bk("Schematics" "w" "schHiCreateWire(0.0)") bk("Schematics" "Shiftw" "schHiCreateWire(schGetEnv(\"defWideWireWidth\"))") bk("Schematics" "x" "schHiCheck(\"run\")") bk("Schematics" "Shiftx" "schHiCheckAndSave()") bk("Schematics" "Shifte" "schHiDescendEdit()") bk("Schematics" "e" "schHiDescendRead()") bk("Schematics" "Ctrle" "schHiReturn()") bk("Schematics" "n" "schHiCreateNoteShape()") bk("Schematics" "s EF" "schSnapToConn()") ; note: if you ; change the key binding for schSnapToConn() ; you can also change the Add>>Wire command ; prompts by setting the global skill variable ; schgWirePromptToAppend = ; " or snap to diamond using {your bind key}." ; in your .cdsinit file. ;for new sun keyboard(sparc 5) bk("Schematics" "BackSpace" "schHiDelete()") ; General bindkeys (prefix "Symbol"). These bindkeys are bound to ; graphics editor ("ge") and human interface ("hi") functionality. ; bk("Symbol" "F6" "hiRedraw()") bk("Symbol" "Down" "geScroll(nil \"s\" nil)") bk("Symbol" "Up" "geScroll(nil \"n\" nil)") bk("Symbol" "Right" "geScroll(nil \"e\" nil)") bk("Symbol" "Left" "geScroll(nil \"w\" nil)") bk("Symbol" "a" "geSingleSelectPoint()") bk("Symbol" "Ctrla" "schSelectAllFig()") bk("Symbol" "Shifta" "schSingleSelectBox()") bk("Symbol" "d" "geSubSelectPoint()") bk("Symbol" "Ctrld" "schDeselectAllFig()") bk("Symbol" "Shiftd" "schSubSelectBox()") bk("Symbol" "f" "schZoomFit(1.0 0.9)") bk("Symbol" "Ctrlf" "schSetSelectOptions()") bk("Symbol" "Shiftf" "hiZoomAbsoluteScale(getCurrentWindow() 0.9)") bk("Symbol" "o" "schHiDisplayOptions()") bk("Symbol" "Shifto" "schHiEditorOptions()") bk("Symbol" "q" "schHiObjectProperty()") bk("Symbol" "q EF" "schHiObjectProperty()") bk("Symbol" "Shiftq" "schHiCellViewProperty()") bk("Symbol" "Shiftq EF" "schHiCellViewProperty()") bk("Symbol" "u" "hiUndo()") bk("Symbol" "Shiftu" "hiRedo()") bk("Symbol" "v" "hiVectorPan()") bk("Symbol" "Ctrlv" "hiFocusToCIW(hiGetCurrentWindow())") bk("Symbol" "z" "hiZoomIn()") bk("Symbol" "Ctrlz" "hiZoomOut()") bk("Symbol" "Shiftz" "hiPrevWinView(hiGetCurrentWindow())") bk("Symbol" "[" "hiZoomRelativeScale(getCurrentWindow() 0.8)") bk("Symbol" "]" "hiZoomRelativeScale(getCurrentWindow() 1.25)") bk("Symbol" "Shifts" "schHiSaveCellView()") bk("Symbol" "Ctrls" "geSaveAs()") bk("Symbol" "9" "geAddNetProbe()") bk("Symbol" "Shiftg" "schHiFindMarker()") bk("Symbol" "Ctrlg" "geHiDeleteMarker()") bk("Symbol" "g" "schHiFindMarker()") ; Specific bindkeys (prefix "Symbol"). These bindkeys are bound to ; schematic editor ("Schematics") functionality. ; bk("Symbol" "" "schDirectEdit(1)") bk("Symbol" "Shift" "schDirectEdit(2)") bk("Symbol" "Ctrl" "schDirectEdit(3)") bk("Symbol" "None(2) EF" "schMouseApplyOrFinish()") bk("Symbol" "None" "schHiMousePopUp()") bk("Symbol" "None EF" "schHiMousePopUp()") bk("Symbol" "NoneEF" "schCmdOption()") bk("Symbol" "Shift EF" "schShiftCmdOption()") bk("Symbol" "Ctrlr EF" "schSetEnv(\"upsideDown\" t)") bk("Symbol" "Shiftr EF" "schSetEnv(\"sideways\" t)") bk("Symbol" "r EF" "schSetEnv(\"rotate\" t)") bk("Symbol" "r" "schHiRotate(t)") bk("Symbol" "Delete" "schHiDelete()") ; Uncomment following line for HP 700 delete key binding. ; bk("Symbol" "ShiftEscape" "schHiDelete()") bk("Symbol" "c" "schHiCopy()") bk("Symbol" "l" "schHiCreateSymbolLabel()") bk("Symbol" "Shiftn" "schHiCreateNoteLabel()") bk("Symbol" "Shiftl" "schHiCreateNoteLabel()") bk("Symbol" "Shiftm" "schHiMove()") bk("Symbol" "m" "schHiSymStretch()") bk("Symbol" "n" "schHiCreateNoteShape()") bk("Symbol" "p" "schHiCreateSymbolPin()") bk("Symbol" "Ctrle" "schHiReturn()") bk("Symbol" "x" "schHiVIC()") ;for new sun keyboard(sparc 5) bk("Symbol" "BackSpace" "schHiDelete()") when( isCallable('schHDLReturn) ; General bindkeys (prefix "Read HDL"). ; bk("Read HDL" "Ctrls" "hiSaveAsViewfile()") bk("Read HDL" "Ctrle" "schHDLReturn()") ) ) unalias bk