hdlsetuphlstoolpath
Set up system environment to access High-Level Synthesis (HLS) software
Since R2022a
Syntax
Description
hdlsetuphlstoolpath("ToolName","Cadence Stratus","ToolPath",
adds synthesisToolPath
,"SimulationToolPath",simulationToolPath
)Cadence Stratus
as a third-party HLS tool to your system path. It
sets up the system environment variables for the synthesis tool. To configure one or more
supported third-party HLS tools to use with HDL Coder™, use the hdlsetuphlstoolpath
function. You cannot set up
third-party HLS tools in Simulink®
Online™.
Before opening the HDL Workflow Advisor, add the tool to your system path. If you already have the HDL Workflow Advisor open, see Add Synthesis Tool for Current HDL Workflow Advisor Session. HDL Workflow Advisor is not available in Simulink Online.
For Cadence Stratus
, the supported target language is
SystemC
.
hdlsetuphlstoolpath("ToolName","Xilinx Vitis HLS","ToolPath",
adds synthesisToolPath
)Xilinx Vitis HLS
as a third-party HLS tool to your system path. It
sets up the system environment variables for the synthesis tool. To configure one or more
supported third-party HLS tools to use with HDL Coder, use the hdlsetuphlstoolpath
function. You cannot set up
third-party HLS tools in Simulink
Online.
For Xilinx Vitis HLS
, the supported target language is
SynthesizableC++
.
hdlsetuphlstoolpath("ToolName","SystemC","SystemCIncludePath",
creates system environmental variables to set up the SystemC™ library. MATLAB® uses these environmental variables MATLAB to simulate the generated HLS code.systemCIncludePath
,"SystemCLibraryPath",systemCLibraryPath
)
Examples
Input Arguments
Tips
The
hdlsetuphlstoolpath
function changes the system path and system environment variables for only the current MATLAB session. To executehdlsetuphlstoolpath
programmatically when MATLAB starts, addhdlsetuphlstoolpath
to yourstartup.m
script.