This is simple example of vector addition and printing profile data (wall clock time taken between start and stop). It also dump a waveform file which can be reloaded to vivado to see the waveform. Run command 'vivado -source ./scripts/open_waveform.tcl -tclargs <device_name>-<kernel_name>..<device_name>.wdb' to launch waveform viewer. User can also update batch to gui in sdaccel.ini file to see the live waveform while running application.
KEY CONCEPTS: Use of Profile API, Waveform Dumping and loading
| Platform | Board | Software Version |
|---|---|---|
| xilinx_u200_qdma | Xilinx Alveo U200 | SDx 2019.1 |
| xilinx_u50_xdma | Xilinx Alveo U50 | SDx 2019.1 |
| xilinx_u250_qdma | Xilinx Alveo U250 | SDx 2019.1 |
| xilinx_u200_xdma | Xilinx Alveo U200 | SDx 2019.1 |
| xilinx_u280_xdma | Xilinx Alveo U280 | SDx 2019.1 |
| xilinx_u250_xdma | Xilinx Alveo U250 | SDx 2019.1 |
Application code is located in the src directory. Accelerator binary files will be compiled to the xclbin directory. The xclbin directory is required by the Makefile and its contents will be filled during compilation. A listing of all the files in this example is shown below
src/host.cpp
src/host.h
src/vadd.cpp
Once the environment has been configured, the application can be executed by
./host <vadd XCLBIN>