You must add the recently generated user-managed RTL kernel (Vadd_A_B.xo) and host code (user-host.cpp) into the project.
Select the
kernelTest_kernelsproject in the Explorer view, and right-click and select the Import Sources command. Browse to thertl_kernel/rtl_kernel.srcs/sources_1/imports/xofolder, and select theVadd_A_B.xokernel file to add to the project as shown below. Click Finish to close the dialog box, and add the kernel.Select and open the
kernelTest_kernels.prjproject file in the Hardware Kernel Project Settings view, and select the Add Hardware Function command. Select theVadd_A_B.xofolder and select theVadd_A_Bkernel as shown in the image below. Click OK to close the dialog box, and add the hardware function to the project.Select the
kernelTestproject in the Explorer view, and right-click and select the Import Sources command. Browse to thesrc/hostfolder, and select theuser-managed.cppfile to add to the project as shown below. Click Finish to close the dialog box and add the host code.TIP: There is also an xrt-host file that can be used to connect to an
ap_ctrl_hsversion of the RTL kernel.