Packing the Design into Vivado IP and Vitis Kernel - 2022.2 English - XD099

Vitis Tutorials: Hardware Acceleration (XD099)

Document ID
XD099
Release Date
2022-12-01
Version
2022.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, we 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 RTL Kernels for GUI version IP packaging tool usage.