hdlsetuptoolpath

Set up system environment to access FPGA synthesis software

Syntax

  • hdlsetuptoolpath('ToolName',TOOLNAME,'ToolPath',TOOLPATH)
    example

Description

example

hdlsetuptoolpath('ToolName',TOOLNAME,'ToolPath',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.

Examples

Set Up Altera Quartus II

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

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

    Note:   In this example, the path to the Quartus II executable file is C:\altera\14.0\quartus\bin\quartus.exe. If the path to your executable file is different, use your path.

Set Up Xilinx ISE

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');

    Note:   In this example, the path to the ISE executable file is C:\Xilinx\14.7\ISE_DS\ISE\bin\nt64\ise.exe. If the path to your executable file is different, use your path.

Set Up Xilinx Vivado

The following command sets the synthesis tool path to point to an installed Vivado® Design Suite 2014.2 batch file. You must have already installed Xilinx Vivado.

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

    Note:   In this example, the path to the Vivado batch file is C:\Xilinx\Vivado\2014.2\bin\vivado.bat. If the path to your batch file is different, use your path.

Input Arguments

collapse all

Synthesis tool name, specified as a character vector.

Example: 'Xilinx Vivado'

Full path to the synthesis tool executable or batch file, specified as a character vector.

Example: 'C:\Xilinx\Vivado\2014.2\bin\vivado.bat'

Tips

  • If you have an icon for the tool on your Windows® desktop, you can find the full path to the synthesis tool.

    1. Right-click the icon and select Properties.

    2. 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.

See Also

|

Introduced in R2011a

Was this topic helpful?