Vitis HLS is being deprecated and will no longer be
released in the near future. The Vitis unified IDE provides a common tool
for creating the different components of a heterogeneous system design, or a Data Center
accleleration application. These components include the HLS component generated from
C/C++ source code. The new tool flow includes the
vitis-run common comand-line for compiling and linking the system
The Vitis unified IDE was first introduced in the 2023.1 release, and is now the default tool flow in the 2023.2 release. The unified IDE provides a number of approaches for migrating an HLS project from Vitis HLS into the new tool. These include the following:
- Use an existing Vitis HLS project to create a new HLS component
- Use the write_ini command to export an HLS config file for use in the Vitis unified IDE
- Use the
vitis-runcommand to run an existing Tcl script
Create an HLS Component from an Exisiting Vitis HLS Project
As described in Creating an HLS Component you can specify the hls.app file from an existing Vitis HLS project to generate a new HLS config file. The tool lets you identify the hls.app file inside the project, and enter a New configuration file name for the config file generated from the hls.app file.
Use write_ini to create an HLS Config File
The Vitis HLS tool also has the ability to create a config file from an
existing Tcl script using the write_ini command. To use this
feature simply add the
write_ini output.cfg with whatever options
are needed to create the needed config file.
Launch Vitis HLS in interactive mode and then specify the
write_ini command to export the Tcl commands used to create a
project, or a specific solution.
vitis_hls>write_ini output.cfg -appfile project/hls.app
vitis_hls>write_ini output.cfg -apsfile project/solution/solution.aps
After creating the HLS config files from the project or solutions, you can use these confi files along with the specified source files to recreate th Vitis HLS project as an HLS component in the Vitis unified IDE.
Use vitis-run to run an Existing Tcl Script
To use an existing Tcl script to generate an Vitis HLS project, you can
vitis-run command as described in vitis, v++, and vitis-run Commands:
vitis-run --mode hls --tcl script.tcl