#!/bin/bash source <Vitis_install_path>/Vitis/2022.1/settings64.sh source /opt/xilinx/xrt/setup.sh source /opt/xilinx/xrm/setup.sh export PLATFORM_REPO_PATHS=<path to platforms> export PLATFORM=xilinx_u50_gen3x16_xdma_5_202210_1 export TARGET=sw_emu
Note: The TARGET environment variable can be set as sw_emu, hw_emu and hw according to which Vitis target is expected to run. sw_emu is for C level emulations. hw_emu is for RTL level emulations. hw is for real on-board test. For more information about the Vitis Target please have a look at here.