Setting Up the Vitis Environment

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

Document ID
UG1393
Release Date
2021-03-22
Version
2020.2 English

The Vitis™ unified software platform includes three elements that must be installed and configured to work together properly: the Vitis core development kit, the Xilinx® Runtime (XRT), and an accelerator card such as the Alveo™ Data Center accelerator card. The requirements of installation and configuration are described in Installation.

If you have the elements of the Vitis software platform installed, you need to setup the environment to run in a specific command shell by running the following scripts (.csh scripts are also provided):
 #setup XILINX_VITIS and XILINX_VIVADO variables
 source <Vitis_install_path>/settings64.sh
 #setup XILINX_XRT
 source /opt/xilinx/xrt/setup.sh
You can also specify the location of the available platforms for use with your Vitis IDE by setting the following environment variable:
export PLATFORM_REPO_PATHS=<path to platforms>
Tip: The PLATFORM_REPO_PATHS environment variable points to directories containing platform files (.xpfm).