Before compiling and running the example it is required to setup the path to HLS compiler which can be done as follows: change the setting of environment variable TA_PATH to point to the installation path of your Vitis 2021.1, and run following command to set up the environment.
export XILINX_VITIS=${TA_PATH}/Vitis/2021.1 export XILINX_VIVADO=${TA_PATH}/Vivado/2021.1 source ${XILINX_VIVADO}/settings64.sh
The example discussed above is also provided as an example test and available at the following path : REPO_PATH/dsp/L1/examples/2Dfloat_impluse
it can be simulated, synthesized or co-simulated as follows:
Simply go to the directory REPO_PATH/dsp/L1/examples/2Dfloat_impluse
and simulat, build and co-simulate project using : make run XPART='xcu200-fsgd2104-2-e' CSIM=1 CSYNTH=1 COSIM=1
you can choose the part number as required and by settting CSIM/CSYNTH/COSIM=0 choose what to build and run with make target.