Inputs - 2023.2 English

AI Engine Tools and Flows User Guide (UG1076)

Document ID
Release Date
2023.2 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>


  • <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).
    Important: The main function must have a return statement. Otherwise, aiecompiler will error out.

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"  \

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

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