Starting EPIC
You can start EPIC in any of these four ways.
- From a PC-Windows environment
- From a UNIX or DOS command line
- In Design Mode (in which you create a new design file or edit an existing one)
- From the Xilinx Design Manager
From the Start Dialog Box (Design Mode)
You can start an EPIC session by making selections from the Start dialog box. You must be using Windows NT on a PC or an X Window System on a UNIX workstation.
- Perform Step 2 if you are using a PC running Windows. Perform Step 3 if you are using a UNIX workstation.
- To open the Start dialog box, double-click the EPIC icon.
- To open the Start dialog box, enter the following command on the UNIX command line.
epic
The Start dialog box appears.
Opening an Existing Design
- Select Open Existing Design from the EPIC Start dialog box and click OK.
The Open Design dialog box appears.
- Enter your design's file name in the Filename field.
NOTEEPIC automatically opens a constraints file if it is located in the same directory and has the same root name as your design file.
|
- Select the Mode option button.
In the option menu that appears, select one of the following.
- Read Only
Use this option to prevent overwriting your design. You can open and edit your design, but you cannot save changes to your original file. However, you can save your changes to a file with a different name.
- Read/Write
Use this option to make any changes to your design, including changes to the logical organization.
- No Logic Changes
You can use this option to make placement and routing changes, but not changes to the logical organization. For example, you cannot add or delete nets and components or reprogram programmable components. This mode ensures that the design database is consistent with the schematic or netlist from which it was created.
- Click OK.
Your design appears in the EPIC window.
Creating a New Design
- Select Create New Design from the EPIC Start dialog box and click OK.
The New Design dialog box appears.
- Enter a file name in the Design File field or use the Browse button to specify the design file name and directory.
- If applicable, enter a constraints file name in the Constraints File field or use the Browse button to specify the constraints file name and directory.
- Select the Architecture, Package, and the Speed of your design.
You can only select packages that correspond to the part libraries installed on your system. For example, if the 3090 series part library is not installed, you cannot create a design using the 3090PC84 part.
- Select the Save current file toggle button, if you do not want to save changes made to your design.
Leave the Save current design toggle button selected to save the current design.
- Click OK.
The EPIC window appears displaying an empty design with the specified part and speed. You are placed in a mode that allows you to make logical changes to your design.
Starting EPIC From the Command Line (Design Mode)
You can start EPIC from the UNIX command line, the DOS prompt, or the Windows Program Manager.
NOTEOn a UNIX workstation, the X Window System must be running before you can start EPIC.
|
- To start EPIC, select the applicable command(s) from the following table.
The command syntax is described following.
Table 2_1 Starting EPIC from the Command Line
Existing or New Design
| Operating System
| Commands
|
Existing Design
| UNIX
| epic [-r | -e | -n] design_name.ncd pcffile_name .pcf -f command_file
|
Windows
| From the Windows Program Manager, select Run from the File menu. In the Run dialog box, enter: epic [-r | -e | -n] design_name.ncd pcffile_name .pcf -f command_file
|
New Design
| UNIX
| epic -f command_file design_name.ncd pcffile_name .pcf arch device package speed
|
Windows
| From the Windows Program Manager, select Run from the File menu. In the Run dialog box, enter: epic -f command_file design_name.ncd pcffile_name .pcf arch device package speed
|
- The EPIC window appears with the specified design loaded or, if you have not specified an existing design, the EPIC window appears displaying an empty design with the specified part and speed. If you are creating a new design, you are placed in a mode that allows you to make logical changes to the design.
Syntax
epic [-r | -e | -n] design_name.ncd pcffile_name.pcf -f command_file
To run EPIC on an existing design use the following.
epic [-n|-e|-r] ncd_file [pcf_file]
To run EPIC and create a new design use the following.
epic [-n|-e|-r] ncd_file [pcf_file] [arch| device| package| speed]
To run EPIC on an existing physical macro use the following.
epic [-e|-r] -m macro_file
To run EPIC to create a new physical macro use the following.
epic [-e|-r] -m macro_file [arch|device|package|speed]
Variables
- Design_name.ncd
The name of your new or existing design file. You do not need to enter the .ncd suffix on the command line.
- Pcffile_name.pcf
The name of the new or existing constraints file that you want applied to your design file. The .pcf extension is optional.
- Command_file
Specifies the name of a command file that includes command line arguments.
- Arch
Specifies the architecture (product family) of your design, for example, XC4000E or XC4000.
- Device
Specifies a device within the selected architecture, for example, 4036 or 4028.
- Package
Specifies a package within the selected architecture and device; for example, PC84 or PQ100.
NOTEYou can only enter a device and package from a part library that is installed on your system. For example, if you have not installed the Xilinx 4036 series part library, you cannot create a design using the 4036 device and the package.
|
- Speed
Specifies the speed grade of the selected part. Allowable speeds are listed in The Programmable Logic Data Book.
Options
See the Opening an Existing Design section for other mode options.
-r
Read Only Mode - prevents overwriting your design. You can open and edit your design, but you cannot save changes to your original file. However, you can save your changes to a file with a different name.
-e
Full Edit Mode - makes any changes to your design, including changes to the logical organization.
-n
No Design Changes Mode (default mode) - makes placement and routing changes, but not changes to the logical organization. For example, you cannot add or delete nets and components or reprogram programmable components. This mode ensures that the design database is consistent with the schematic or netlist from which it was created.
-f
Use this option to execute the command line arguments in the specified file. When you enter the above command line, the EPIC window appears, displaying an empty design using the designated part and speed. When you create a new design, you are placed in a mode that allows you to make logical changes to the design.