Set up system environment to access FPGA synthesis software
hdlsetuptoolpath('ToolName',
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 TOOLNAME
,'ToolPath',TOOLPATH
)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.
The following command sets the synthesis tool path to point to an installed Intel® Quartus® Prime Standard Edition 18.1 executable file. You must have already installed Altera® Quartus II.
hdlsetuptoolpath('ToolName','Altera Quartus II','ToolPath',... 'C:\intel\18.1\quartus\bin\quartus.exe');
The following command sets the synthesis tool path to point to an installed Intel Quartus Pro 19.4 executable file. You must have already installed Intel Quartus Pro.
hdlsetuptoolpath('ToolName','Intel Quartus Pro','ToolPath',... 'C:\intel\19.4_pro\quartus\bin64\qpro.exe');
Note
An installation of Quartus Pro contains both quartus.exe
and
qpro.exe
executable files. When both tools are added to the path by
using hdlsetuptoolpath
, HDL Coder checks the tool availability before running the HDL Workflow Advisor.
The following command sets the synthesis tool path to point to an installed Xilinx® ISE 14.7 executable file. You must have already installed Xilinx ISE.
hdlsetuptoolpath('ToolName','Xilinx ISE','ToolPath',... 'C:\Xilinx\14.7\ISE_DS\ISE\bin\nt64\ise.exe');
The following command sets the synthesis tool path to point to an installed Vivado® Design Suite 2019.2 batch file. You must have already installed Xilinx Vivado.
hdlsetuptoolpath('ToolName','Xilinx Vivado','ToolPath',... 'C:\Xilinx\Vivado\2019.2\bin\vivado.bat');
The following command sets the synthesis tool path to point to an installed Microsemi® Libero® Design Suite batch file. You must have already installed Microsemi Libero SoC.
hdlsetuptoolpath('ToolName','Microsemi Libero SoC','ToolPath',... 'C:\Microsemi\Libero_SoC_v12.0\Designer\bin\libero.exe');
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 execute hdlsetuptoolpath
programmatically
when MATLAB starts, add hdlsetuptoolpath
to your
startup.m
script.