Step 2.1 Add printf() statement - 2022.2 English

Vitis Tutorials: AI Engine (XD100)

Document ID
XD100
Release Date
2022-12-01
Version
2022.2 English

Select bf8x8_fst_api.cpp file in Vitis IDE to be edited. Add #include <adf/x86sim/x86simDebug.h> at line 24 and printf("%s: %s, %d\n", __FUNCTION__, X86SIM_KERNEL_NAME, __LINE__); statement at line 37 of bf8x8_fst_api.cpp file. bf8x8_fst_api.cpp can be found from Vitis IDE’s explorer, browse to beamformer project, click on src then kernel to expand the directory, and click on bf8x8_fst_api.cpp. The file will be displayed at the center of the Vitis IDE. To use X86SIM_KERNEL_NAME you must include adf/x86sim/x86simDebug.h header file in graph kernel code.