vitis_hls command opens in the
Vitis™ HLS integrated design environment (IDE) mode by default. However,
you can also run
vitis_hls interactively, specifying
commands from the command line, or specifying Tcl scripts for the tool to run in batch
vitis_hls you can use the
vitis_hls command supports the following
-f <string>: Start Vitis HLS by running a specified Tcl script. After the Tcl script is ended the tool remains open in interactive mode as described below, unless
exithas been called from the script.Tip: When running the tool in interactive mode, you can type the
helpcommand to display a list of available Vitis HLS commands:
-i: This option invokes the tool in interactive mode with a command prompt, ready to receive any Vitis HLS command, as documented in Project Commands, Configuration Commands, or Optimization Directives.
-l <string>: Defines the name and location of the Vitis HLS log file. By default the tool creates a log file called vitis_hls.log in the directory from which Vitis HLS was launched.
-nosplash: Do not show the splash screen when starting the GUI.
-p: Open an existing project in IDE mode. Specify a project folder or Tcl file to open the project when you are launching the tool. If a Tcl file is specified it will be automatically opened in the IDE through
stdoutcommands to only show status INFO and WARNING messages. The log file will contain all messages.
-version: Return the version of Vitis HLS being used.
The following example launches Vitis HLS in command-line interactive (CLI) mode: