The AI Engine component configuration file contains information used for the compilation and simulation of the component. To access the file, click Configuration File (aiecompiler.cfg) in the settings directory- of the AI Engine component. This will open the Configuration File Editor in the central editor window.
For the AI Engine component, the configuration file includes the following sections:
- Generic
- Includes AI Engine options like input files, output file name, kernel frequency, and part name.
- AI Engine
- Compiler options applied to the graph.
- CDO
- Options for graph configuration and initialization in configuration data object (CDO) format.
- Compiler Debugging
- Log-levels and compilation options to help analyze and debug the compilation process.
- Design Rule Check
- Options to enable, disable or waive Design Rule Check for the specified ID.
- File Specific
- Source files and include files required for building and running the component.
- Miscellaneous
- Collection of options for added functionality.
- Module-Specific
- Compilation options specific to each kernel in the design.
- Tracing
- Options to configure event trace when running the design in hardware. Some event tracing options require specific resources in the design and can affect the performance of the design.
- XLOpt
- Option to set the level of kernel optimizations. Each of these levels enables specific combinations of optimizations.
v++ --mode aie
command-line options. Refer to v++ Mode AI Engine for
more detailed information on the options.There is a Search bar at the top of the Config File Editor which lets you quickly search through the options using a keyword or phrase.
The Config File
Editor offers both a form-based view of the configuration
file options, and a text-based editor that can be enabled to edit the configuration
file directly. You can switch between the two by using the Configuration File
buttons () at the top of the editor window.
Selecting the text-based editor view from time to time is a good way to review the current contents of the config file. You can also quickly edit or add configuration commands as needed.
Ctrl-S
to save your
changes. However, you can also enable the command to have your work saved automatically.