In previous releases, the software supported a custom compile file
list, which allowed you to pass a list of HDL source files directly
to the synthesis and simulation tools, bypassing the automatic file
list created by Project Navigator. Now, you can use the Manual Compile
Order menu command to bypass the automatic file list and to control
the list and the order of files that are sent to the synthesis and
simulation tools. If you have an existing custom compile file list
that you want to use to specify the Manual Compile Order, you can
import the custom compile file list as follows.
Note When you import the custom compile file list, Manual Compile
Order mode is automatically enabled. For more information on Manual
Compile Order mode, see
Setting a Custom Compile
Order.
To Import a Custom Compile File List
- Select Project > Import Custom Compile File List.
- In the Import Custom Compile File List dialog box, select the
custom compile file list, which can be any of the following formats:
- Text file format with library; filename syntax, such as the following:
user_lib;top.vhd
work;submod1.vhd
work;submod2.v
- Synplify or Synplify Pro project file format, such as the following:
#add_file options
add_file -vhdl -lib user_lib top.vhd
add_file -vhdl submod1.vhd
add_file -verilog submod2.vhd
- Click Open.
When the file is imported, the ISE® project is set
to Manual Compile Order mode, and Project Navigator does the following:
Note If the project contains source files that are not included
in the custom compile file list, the files are retained in the project,
but they are
not included in the manual compile
order and are
not sent to synthesis or simulation.
This is indicated by an unchecked checkbox next to the filename in
Hierarchy pane of the
Design panel. To include the file in the manual compile order,
enable the checkbox next to the filename.
After the file
is imported, Project Navigator no longer tracks the custom compile file
list. If you make changes to the custom compile file list, Project Navigator does not automatically recognize the changes. Instead, you
must re-import the custom compile file list to update the list of
files in the project.
After the project is set to Manual Compile
Order mode, you can modify the compile order in Project Navigator as follows:
- In the Hierarchy pane of the Design panel, do the following:
- Drag and drop the files to rearrange their order.
- Enable or disable checkboxes to add or remove files from the
manual compile order. To enable or disable all the checkboxes, you
can right-click and select Check All or Uncheck All.
Only files with a check mark are compiled
by synthesis or simulation. Files that are sent to implementation
only, such as UCF files, do not have a check mark because they are not passed to synthesis or simulation for compilation.
- Use the Project > Add Source or Source > Remove menu commands to add or
remove source files from the ISE project.