make run TARGET=sw_emu/hw_emu
The above command tests and verifies forward kernel with HBC/RBC boundary condition via Vitis software-emulation or hardware-emulation. Once the emulations are passed, you can use the following command to build FPGA bitstream and launch the kernel on Alveo U280 FPGA.
make build TARGET=hw make run TARGET=hw
The parameters listed in the following table can be configured with make command. Notice that RTM_time must be multiple of RTM_numFSMs. RTM_z must be less than RTM_maxZZ and be multiple of RTM_nPEZ. RTM_x must be multiple of RTM_nPEX.
Parameter | Default Value | Notes |
---|---|---|
RTM_maxY | 280 | Compile time: y-dimmention limit |
RTM_maxZ | 180 | Compile time: z-dimmention limit |
RTM_NXB | 20 | Compile time: Boundary width |
RTM_NYB | 20 | Compile time: Boundary width |
RTM_NZB | 20 | Compile time: Boundary height |
NUM_numFSMs | 2 | Compile time: No.stream module |
RTM_nPEX | 4 | Compile time: No.PE along X |
RTM_nPEZ | 4 | Compile time: No.PE along Z |
RTM_order | 8 | Compile time: Spatial Order |
RTM_x | 10 | Running time: Image x dim size |
RTM_y | 10 | Running time: Image y dim size |
RTM_z | 10 | Running time: Image z dim size |
RTM_time | 10 | Running time: No.time |