The FPGA Editor runs on PCs and workstations. You can start the FPGA Editor from the Windows Program Manager, the Xilinx Alliance Design Manager, the Xilinx Foundation Project Manager, or the command line.
This section contains the following topics.
To start the FPGA Editor from the Design Manager window (PC or workstation), click on the FPGA Editor icon, shown in the following figure. Or select the Tools FPGA Editor menu command.
To start the FPGA Editor from the Project Manager window, select Tools Implementation FPGA Editor.
Note: To run the FPGA Editor as a stand-alone tool on a PC, you must have the XILINX environment variable defined and the path must include $XILINX/bin/nt.
If you installed the FPGA Editor as a stand-alone tool on a PC, click on the FPGA Editor icon (shown in the previous figure) on the Windows desktop or select fpga_editor.exe from the Windows Start button.
To start the FPGA Editor from a UNIX command line, type the following command.
fpga_editor
The following table includes the different options you can use when starting the FPGA Editor from the UNIX command line or from the Run option in the Windows Start button menu
Option | Description |
---|---|
-n | Specifies No Logic Changes mode |
-e | Specifies Read-Write mode |
-r | Specifies Read-Only mode |
-m | Specifies Macro Edit mode |
-p | Specifies a script file to perform immediately after your design (or macro) is read or created, or after the FPGA Editor's initialization files have been read |
The FPGA Editor window appears with the specified design loaded or, if you have not specified an existing design, the FPGA Editor 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 changes to the design.
fpga_editor [-r | -e | -n] design_name.ncd pcffile_name.pcf -p script_file_name
To run the FPGA Editor on an existing design use the following.
fpga_editor [-n|-e|-r] design_name.ncd [pcffile_name.pcf]
To run the FPGA Editor and create a new design use the following.
fpga_editor -e design_name.ncd [pcffile_name.pcf] [arch device package speed]
To run the FPGA Editor on an existing physical macro use the following.
fpga_editor [-e|-r] -m macro_file_name
To run the FPGA Editor to create a new physical macro use the following.
fpga_editor -e -m macro_file_name [arch device package speed]
Note: To see what devices, packages, and speeds are available, select File New and click the Select Part button to display the Part Selector dialog box, shown in the Part Selector Dialog Box figure of the Menu Commands chapter.
Note: You 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 4036EX series part library, you cannot create a design using the 4036EX device and the package.
See the Opening an Existing Design File section of the Using the FPGA Editor chapter 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
Read-Write Mode - makes any changes to your design, including changes to the logical configurations.
-n
No Logic Changes Mode (default mode) - makes placement and routing changes, but not changes to the logical configurations. 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.
-p
Use this option to execute the command line arguments in the specified file after your design or macro is opened or created.
-m
Use this option when you want to edit or create a macro.