This section describes the Vitis
compiler command, v++
, and the various options it
supports for building the device binary. v++
is a
standalone command line utility with three command modes:
-
--compile
(-c
): For launching the Vitis HLS tool to compile C/C++ code into PL kernel object files (.xo) as described in Compiling C/C++ PL Kernels -
--link
(-l
): For linking PL kernels(.xo
), AI Engine graph applications (libadf.a), and a target hardware platform (.xpfm) into an AMD device binary (.xclbin) or hardware design (.xsa) as described in Linking the System -
--package
(-p
): For packaging an AI Engine libadf.a file into the xclbin, and generating an SD card file or QSPI/OSPI file as needed to initialize and boot the accelerated system as described in Packaging the System