Environment Setup - 2022.2 English

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

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

Setup your environment by sourcing both the Vitis setup script and the XRT setup script as shown below:

$ source <Vitis_install_path>/Vitis/<version>/settings64.sh
$ source <XRT_install_path>/xrt/setup.sh

You should also set up the PLATFORM_PATH environment variable to point to the platforms that you have downloaded for your accelerator cards. PLATFORM_PATH is used by the Makefile template described below. If you do not set it up, you will need to provide it as a command-line argument to the make command.

$ export PLATFORM_PATH=<path_to>/platforms
Tip: The PLATFORM_PATH environment variable is the same as the PLATFORM_REPO_PATHS, and points to directories containing platform files (.xpfm).