You can use the Alias command to assign a name to an FPGA Editor command stream. You can then enter the alias name to perform the assigned commands. This is useful for abbreviating or renaming existing commands. Refer to the Alias section of the Command Line Syntax chapter for more information. Default aliases for the FPGA Editor are in the fpga_editor.ini file.
Note: The keyboard shortcuts for the FPGA Editor pull-down menu commands are hard coded and cannot be used with the Alias command. For example, you cannot re-program the Control + O shortcut for the Open command to perform any other command.
For frequently used FPGA Editor commands, you can create keyboard shortcuts by programming one or more keys to execute any of the commands described in the Command Line Syntax chapter. After the shortcut keys are defined, you can invoke a command by pressing the appropriate key (hot key) when the Array window has the keyboard focus instead of typing the command in the command line toolbar.
On PCs, you must click the left mouse button in a window to activate the commands applicable to that window. For example, if your active window is the List window, and you move the cursor to the Array window, and type a keyboard shortcut without first clicking in the Array window, the shortcut will not work.
The default aliases for the keys are contained in the fpga_editor.ini file. You can set up your own default aliases in the fpga_editor_user.ini file. On initialization, the FPGA Editor reads the fpga_editor.ini and fpga_editor_user.ini files in the following order.
To view a list of the active keyboard shortcuts in the history area, enter the following in the command line toolbar.
alias
A listing similar to the following is displayed.
0x111 ([UpArrow]) = pan up 75
0x113 ([LeftArrow]) = pan left 75
The hexadecimal number represents the value for the key enclosed in brackets. The information following the equal sign is the FPGA Editor command represented by the key. For example, first alias listed uses the UpArrow key to pan up 75% of one window height.
The default shortcuts that you can customize are listed in the following table.
Key Name | Action |
---|---|
Left arrow ( ) | Pan left 75 % of one window width |
Right arrow ( ) | Pan right 75 % of one window width |
Up arrow ( ) | Pan up 75 % of one window height |
Down arrow ( ) | Pan down 75 % of one window height |
Shift + | Pan to left edge of device |
Shift + | Pan to right edge of device |
Shift + | Pan to upper edge of device |
Shift + | Pan to lower edge of device |
Space bar | Center the window about the cursor |
A,a | Posts the Command Line toolbar |
C, c | Toggle the view of components |
N, n | Toggle the view of ratsnest lines |
Q, q | Display information about the object currently under the cursor |
R, r | Toggle the view of routes |
S, s | Toggle the view of sites |
T, t | Toggle the view of text |
X, x | Posts the Command Line toolbar |
Z, z | Toggle the zoom |
The following table lists the hard-coded shortcuts that cannot be customized.
Key Name | Action |
---|---|
F1 | Help |
F2 | Go to command line |
Control + N | File New |
Control + U | Undo last action |
Control + F6 | Go to next window |
Shift + Control + F6 | Go to previous window |
Control + C | Copy |
Control + O | File Open |
Control + P | File Print |
Control + S | File Save |
Control + V | Paste text to the command line |
Control + X | Cut text from the command line |
You can define keyboard shortcuts either on the command line during an editing session, or in the initialization file. Shortcuts defined during an editing session can only be used for that session. Shortcuts defined in the .ini file can be used for all subsequent sessions.