|
FCD File |
Top Previous Next |
|
A task is described by a Firmware Component Description file (FCD) that gathers all the information about the task into one place; it is equivalent to a .tsk file for CPU tasks and is used in the same way in task definitions. This text file contains statements identifying the files that define the task and other properties it may have. It is convenient and conventional to give the FCD file the same name as the task it represents.
As the Diamond IDE automatically creates FCD files for your tasks, the following information is needed only if you wish to drive the application-building process yourself from a command prompt or makefile.
Each statement starts with a keyword that identifies the information being presented.
The minimum FCD file identifies the package file and one VHDL file for the task.
The following is an example of a simple FCD file:
PACKAGE "FPGA\correlator\correlator_pkg.vhd" FILE "FPGA\correlator\correlator.ncf" FILE "FPGA\correlator\correlator.edf"
All characters on a line following an exclamation mark, '!' are ignored (including the exclamation mark, but not including the newline). This allows you to insert comments into the FCD file. |