hdlsetuptoolpath - Set up system environment to access FPGA synthesis software - MATLAB (original) (raw)

Set up system environment to access FPGA synthesis software

Syntax

Description

hdlsetuptoolpath('ToolName',[TOOLNAME](#burmn3j-1-TOOLNAME),'ToolPath',[TOOLPATH](#burmn3j-1%5Fsep%5Fburmn3j-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. You cannot set up third-party FPGA synthesis 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.

example

[SynthesisToolPath](#mw%5Fc48edc21-66b7-4890-ba14-103b4545705f) = hdlsetuptoolpath('ToolName',[TOOLNAME](#burmn3j-1-TOOLNAME),'ToolPath',[TOOLPATH](#burmn3j-1%5Fsep%5Fburmn3j-1-TOOLPATH)) adds a third-party FPGA synthesis tool to your system path and returns the synthesis tool path value to the output, SynthesisToolPath.

example

Examples

collapse all

The following command sets the synthesis tool path to point to an installed Intel® Quartus® Prime Standard Edition executable file. You must have already installed Altera® Quartus II.

hdlsetuptoolpath('ToolName','Altera Quartus II','ToolPath',... 'C:\intel\23.1\quartus\bin\quartus.exe');

The following command sets the synthesis tool path to point to an installed Intel Quartus Pro executable file. You must have already installed Intel Quartus Pro.

hdlsetuptoolpath('ToolName','Intel Quartus Pro','ToolPath',... 'C:\intel\23.3_pro\quartus\bin64\quartus.exe');

Note

When you set up both Intel Quartus Prime Standard and Intel Quartus Pro tools to the path by using hdlsetuptoolpath, HDL Coder loads the tool that is set up most recently.

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 batch file. You must have already installed Xilinx Vivado.

hdlsetuptoolpath('ToolName','Xilinx Vivado','ToolPath',... 'C:\Xilinx\Vivado\2024.1\bin\vivado.bat');

The following command sets the synthesis tool path to point to an installed Microchip Libero® Design Suite batch file. You must have already installed Microchip Libero SoC.

hdlsetuptoolpath('ToolName','Microchip Libero SoC','ToolPath',... 'C:\Microchip\Libero_SoC_v2024.1\Designer\bin\libero.exe');

The following command sets the synthesis tool path to point to an installed Cadence® Genus. You must have already installed Cadence Genus.

hdlsetuptoolpath('ToolName','Cadence Genus','ToolPath',... '/home/tools/HDLTools/Cadence/RH/GENUS211/bin/genus');

Input Arguments

Output Arguments

collapse all

Full path of the synthesis tool, returned as a character vector.

Example: 'C:\Xilinx\Vivado\2024.1\bin\'

Tips

Version History

Introduced in R2011a