Inputs - 2023.1 English

AI Engine Tools and Flows User Guide (UG1076)

Document ID
UG1076
Release Date
2023-06-23
Version
2023.1 English

The AI Engine compiler takes inputs in several forms and produces executable applications for running on an AI Engine device. The command line for running AI Engine compiler is as follows:

aiecompiler [options] <Input File>

where:

  • <Input File> specifies the data flow graph code that defines the main() application for the AI Engine graph. The input flow graph is specified using a data flow graph language. For a description of the data flow graph, refer to Creating a Data Flow Graph (Including Kernels) in AI Engine Kernel and Graph Programming Guide (UG1079).

An example AI Engine compiler command:

aiecompiler --verbose --pl-freq=100 --workdir=./myWork --platform=xilinx_vck190_base_202310_1.xpfm\
--include="./" --include="./src" --include="./src/kernels" --include="./data" --include="${XILINX_HLS}/include"  \
./src/graph.cpp

For examples using the unified command line interface, see Vitis IDE and Unified Command-Line Reference Guide (UG1553).

Some additional input options for the command line can include the following:

  • --constraints=<jsonfile> to specify constraints such as location or placement bounding box.