Enabling Auto-Restart - 2022.1 English

Vitis Unified Software Platform Documentation: Application Acceleration Development (UG1393)

Document ID
UG1393
Release Date
2022-05-25
Version
2022.1 English
You must enable the auto-restart and the mailbox features when the kernel code (.cpp) is compiled into the Vitis kernel (.xo). Use the following Vitis HLS commands in a Tcl script from the v++ -c command line with the --hls.pre_tcl option as described in --hls Options:
config_interface -s_axilite_mailbox both
config_interface -s_axilite_auto_restart_counter 1
To enable the never-ending kernel without the mailbox feature, specify the following:
config_interface -s_axilite_auto_restart_counter 1
If the kernel uses a streaming interface (axis), you will also need to set the following:
config_interface -s_axilite_sw_reset