Previous

Initialization Commands

During installation the epic.ini initialization file is installed in $XILINX/data.

Where:

$XILINX is the path pointed to/defined by the $XILINX environment variable.

These ASCII files contain a series of commands that are performed when the EPIC window opens. You can edit these files to include any command in the Command Line Syntax. When you open EPIC, it automatically finds the correct epic.ini file for the architecture of the file you are opening. This is the order in which EPIC looks for an epic.ini file.

  1. The current working directory

  2. Your home directory if defined by $HOME

  3. “Friends” of architecture (that is, an associated architecture; e.g., XC4000E and XC4000EX) in $XILINX/friend_architecture/data

  4. $XILINX/data (a generic epic.ini file)

If you want to customize an epic.ini file to suit your needs, you can create a file called epicuser.ini in your home directory. This file can be used to modify or add to the epic.ini file so that it will perform any commands you want when the EPIC window opens. When EPIC is initialized, it will look for and use an epicuser.ini file after it reads the epic.ini file.

You can also copy an epic.ini file into your own working directory and edit it as well if you want. The sample epic.ini file shown below is a generic file.

##############################################################################

# Copyright 1991-1994 by XILINX Inc. All rights reserved.

#

# EPIC generic user initialization file.

#

# This file is used to setup the initial user buttons and command aliases.

# It can also be used to run whatever other EPIC commands are necessary

# to initialize the editor.

#

# It doesn't contain any references to vendor specific layer names.

# There are also architecture specific .ini files which can be found under

# $XILINX/<arch>/bin/<platform>

##############################################################################

#Define some useful buttons.

button exit “post exit”

button add add

button attrib “post attr”

button autoroute autoroute

button clear clear

button delay delay

button delete delete

button drc drc

button editblock editblock

button find “post find”

button hilite hilite

button info getattr

button route route

button swap swap

button unroute unroute

#Define some hot-keys (accelerators) that can be used while the mouse cursor

#is in the edit window area.

# key action key

# value performed name

# ------ ------------------------------- -------------------

alias 0x113 “pan left 75” #Left arrow key.

alias 0x115 “pan right 75” #Right arrow key.

alias 0x111 “pan up 75” #Up arrow key.

alias 0x117 “pan down 75” #Down arrow key.

alias 0x153 “pan left far” #Shift-Left arrow key.

alias 0x155 “pan right far” #Shift-Right arrow key.

alias 0x151 “pan up far” #Shift-Up arrow key.

alias 0x157 “pan down far” #Shift-Down arrow key.

alias 0x20 “pan center” #' ' key. Center win about cursor

Next