v++ Command - 2022.2 English

Vitis Unified Software Platform Documentation: Application Acceleration Development (UG1393)

Document ID
UG1393
Release Date
2022-12-07
Version
2022.2 English

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 a Xilinx device binary (.xclbin) or hardware design (.xsa) as described in Linking the Kernels
  • --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

Beyond these three command modes there are many options available to customize the build process as described in the following sections. Some of the options are supported for all three command modes, and some options are specific to compilation, linking, or packaging.