Packing the Design into Vivado IP and Vitis Kernel - 2023.2 English

Vitis Tutorials: Hardware Acceleration (XD099)

Document ID
XD099
Release Date
2023-11-13
Version
2023.2 English

One key step for the RTL kernel design for Vitis is to package the RTL design into a Vitis kernel file (XO file). You can utilize the RTL Kernel Wizard in the GUI to help to create the Vitis kernel. You can also use the IP Packager in Vivado to package the design into Vivado IP, and then generate the XO file. Vivado also provides a command line flow for Vitis kernel generation, which finishes the same jobs as the GUI version.

In this tutorial, like in the krnl_aes kernel case, you will use the Vivado Tcl command to finish the krnl_cbc IP packaging and XO file generation in batch mode. The complete kernel generation script for this design is in ~/krnl_cbc/pack_kernel.tcl. The main steps are summarized below; refer to the details in the script.

NOTE: Each step in the script has a counterpart tool in the GUI. Refer to Packaging RTL Kernels for more information.