hdlsetuptoolpath - Set up system environment to access FPGA synthesis software - MATLAB (original) (raw)
Main Content
Set up system environment to access FPGA synthesis software
Since R2020b
Syntax
Description
hdlsetuptoolpath('ToolName',[TOOLNAME](#burmn3j-1-TOOLNAME),'ToolPath',[TOOLPATH](#burmn3j-1-TOOLPATH))
adds a third-party FPGA synthesis tool to your system path. It sets up the system environment variables for the synthesis tool. To configure one or more supported third-party FPGA synthesis tools to use with HDL Coder™, use the hdlsetuptoolpath
function.
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 Coder).
Examples
Set Up Intel Quartus Prime
The following command sets the synthesis tool path to point to an installed Intel® Quartus® Prime Standard Edition 22.1.1 executable file. You must have already installed Altera® Quartus II.
hdlsetuptoolpath('ToolName','Altera Quartus II','ToolPath',... 'C:\intel\22.1.1\quartus\bin\quartus.exe');
Set Up Xilinx Vivado
The following command sets the synthesis tool path to point to an installed Vivado® Design Suite 2020.2 batch file. You must have already installed Xilinx® Vivado.
hdlsetuptoolpath('ToolName','Xilinx Vivado','ToolPath',... 'C:\Xilinx\Vivado\2023.1\bin\vivado.bat');
Input Arguments
Tips
- If you have an icon for the tool on your Windows® desktop, you can find the full path to the synthesis tool.
- Right-click the icon and select Properties.
- Click the Shortcut tab.
The hdlsetuptoolpath
function changes the system path and system environment variables for only the current MATLAB® session. To executehdlsetuptoolpath
programmatically when MATLAB starts, addhdlsetuptoolpath
to yourstartup.m
script.
Version History
Introduced in R2020b