Table of Contents
...
Design Components
This module requires the following components:
- zcu102_base_trd (Vitis_platform)
Build Flow Tutorials
Optical Flow and Filter 2D Accelerator
This tutorial shows how to build both 2D filter and Optical Flow accelerator with HW acceleration based on the Base TRD Vitis platform.
- setup the environment by sourcing the vitis and xilinx runtime (xrt) tools.
Build the project using the make file.This can take several hours.
Code Block language bash theme Midnight % cd $TRD_HOME/zcu102_base_trd/samples/filter2d_opticalflow/ % make VITIS_PLATFORM=$TRD_HOME/zcu102_base_trd/zcu102_base_trd.xpfm XFOPENCVDIR=$TRD_HOME/zcu102_base_trd/sw/zcu102_base_trd/a53_linux/inc/xfopencv SYSCONFIG=zcu102_base_trd PPC=XF_NPPC1
- make will create the accelerated filter2d_opticalflow platform and outputs the xclbin, boot image and image.ub in the sdcard.
Copy the generated SD card image once the build is finished.
Code Block language bash theme Midnight % cp -r xxxxxxxxxxxxxxxxxxxxxxxxxxxxx./sd_card $TRD_HOME/sd_card/dm9
...