The AI Engine tools are delivered and installed as part of the Vitis unified software platform. 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 tools. The Vitis unified software platform includes two elements that must be installed and configured, along with a valid Vitis tools license, to work together properly.
- Vitis tools and AI Engine tools
- A target Vitis platform
such as the
xilinx_vck190_base_202020_1platform used for AI Engine applications
For more information, see Vitis Unified Software Platform Documentation: Application Acceleration Development (UG1393).
When the elements of the Vitis software platform are installed, set up the environment to run in a specific command shell by running the following scripts.
#setup XILINX_VITIS and XILINX_HLS variables source <Vitis_install_path>/Vitis/<version>/settings64.csh
setup.shscripts are also provided in the same directory.
Finally, define the location of the available target platforms to use with the Vitis IDE and AI Engine tools using the following environment variable:
setenv PLATFORM_REPO_PATHS <path to platforms>
PLATFORM_REPO_PATHSenvironment 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
You can validate the platform installation by using the following command.