Inputs - 2022.1 English

Versal ACAP AI Engine Programming Environment User Guide (UG1076)

Document ID
UG1076
Release Date
2022-05-25
Version
2022.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. Refer to Creating a Data Flow Graph (Including Kernels) for a description of the data flow graph.

An example AI Engine compiler command:

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

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

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