Setting Up the Vitis Tool Environment - 2023.2 English

AI Engine Tools and Flows User Guide (UG1076)

Document ID
Release Date
2023.2 English

The AI Engine tools are delivered and installed as part of the Vitis unified software. Therefore, when preparing to run the AI Engine tools, for example, the AI Engine compiler and AI Engine simulator, you must set up the Vitis unified software. The Vitis unified software includes embedded base platforms targeting select boards like the VCK190 and the VEK280. You can also download the Common Images for Embedded Vitis Platforms from The ‘common image’ package contains a prebuilt Linux kernel and root file system that can be used with the AMD Versal™ board for embedded design development together with the appropriate Vitis base platform.

For more information, see Vitis Unified Software Platform Documentation: Application Acceleration Development (UG1393).

When the Vitis unified software is installed, run the following script.

#setup XILINX_VITIS and XILINX_HLS variables
source <Vitis_install_path>/Vitis/<version>/settings64.csh
Tip: The and scripts for the Bash shell are also provided in the same directory.

Set up your PLATFORM_REPO_PATHS environment variable to $XILINX_VITIS/base_platforms

Tip: The PLATFORM_REPO_PATHS environment variable points to directories containing platform files (XPFM). This lets you specify platforms using just the folder name for the platform.

You can validate the installation and setup of the tools by using one of the following commands.

which vitis
which aiecompiler