cp -r /opt/xilinx/Vitis/2020.2/examples examples20 # replace “XDEVICE=xilinx_u200_xdma_201920_1” with “XDEVICE=xilinx_u250_xdma_201830_2” in examples/vadd/vitis.mk
Compile it
scl enable devtoolset-9 bash
source /opt/xilinx/Vitis/2020.2/settings64.sh
# go to your examples/vadd/
make -f vitis.mk host
make -f vitis.mk xbin_hw # this will take a few hours to complete
cp -r /opt/xilinx/Vitis/2022.1/examples examples22 # replace “XDEVICE=xilinx_u200_xdma_201920_1” with “XDEVICE=xilinx_u250_gen3x16_xdma_4_1_202210_1” in examples/vadd/vitis.mk
Compile it
scl enable devtoolset-9 bash
source /opt/xilinx/Vitis/2022.1/settings64.sh
source /opt/xilinx/xrt/setup.sh
# go to your examples/vadd/
make -f vitis.mk host
make -f vitis.mk xbin_hw # this will take a few hours to complete
cp -r /opt/xilinx/Vitis/2020.2/examples .
# replace “XDEVICE=xilinx_u200_xdma_201920_1” with “XDEVICE=xilinx_u250_xdma_201830_2” in examples/vadd/vitis.mk
Compile it
scl enable devtoolset-9 bash
source /opt/xilinx/Vitis/2020.2/settings64.sh
# go to your examples/vadd/
make -f vitis.mk host
make -f vitis.mk xbin_hw # this will take a few hours to complete