When you start Vitis™ HLS the tool looks for a Tcl initialization script in the following three different locations, each one overriding the previous one found. This order of precedence lets your organization setup the tool for all users (Enterprise), and then lets you override the tool for specific versions, or for your specific needs.
- Enterprise: In the software installation directory:
<installdir>/Vitis_HLS/<version>/scripts/hls_init.tcl
Where
<installdir>
is the installation directory where the Vitis tools are installed, and<version>
represents the version of software you are using. - Version Specific: In the user's home directory, under a specific version of the
Vitis™ HLS tools:
- On Windows: %APPDATA%/Xilinx/vitis_hls/<version>/hls_init.tcl
- On Linux: $HOME/.Xilinx/vitis_hls/<version>/hls_init.tcl
- User Specific: In a local user directory, for all versions of the tool:
-
• On Windows: %APPDATA%/Xilinx/vitis_hls/hls_init.tcl
-
• On Linux: $HOME/.Xilinx/vitis_hls/hls_init.tcl
-
The hls_init.tcl lets you use Vitis™ HLS commands to initialize the tool prior to opening a project.