Getting Started
Getting Started — Getting Started
Introduction
This section provides some basic hints on how to use HDL Coder functionality in
combination with Simulink-programmable FPGA I/O modules and Xilinx FPGA Synthesis
software.
Prerequisites
Before installing the HDL Coder Integration Package, please make sure to have the following Software installed:
Installation Steps
To install the Speedgoat HCIP, proceed as follows:
Start MATLAB and navigate to the previously downloaded archive file
Double-click the archive file in MATLAB to unzip it
Enter the following command in the MATLAB Command Window:
>> hdlCoder_integration_package_installer
FPGA Synthesis Software Settings
To use the HDL Coder functionality in combination with the Xilinx FPGA Synthesis
software, use the hdlsetuptoolpath
command before opening HDL Workflow
Advisor to properly configure the system environment. Additional information is
available at set up system environment to access FPGA synthesis software. If you use Speedgoat Simulink-programmable FPGA
I/O modules together with HDL Coder from MathWorks, the correct Xilinx software
version must be installed:
Xilinx Vivado Design Suite 2020.1
The following command sets the synthesis tool path to point to an installed Xilinx
"Vivado Design Suite HLx Edition" (Vivado HL Design Edition).
>> hdlsetuptoolpath('ToolName','Xilinx Vivado','ToolPath','C:\Xilinx\Vivado\2020.1\bin\vivado.bat');
Optionally, hdlsetuptoolpath
commands can be added to the MATLAB
startup.m
script so that they are automatically executed when
MATLAB starts.
We recommend installing the Xilinx Design Edition. However, if you choose to use
Xilinx System Edition (incl. System Generator), ensure to not select any MATLAB
release during the System Generator installation, as this may lead to conflicts. The
link to the MATLAB release can later be set using hdlsetuptoolpath
, as
described above.
For previous MATLAB releases find the corresponding Xilinx Vivado version
dependencies in previous versions.
HDL Workflow Advisor
Step-by-step instructions on the most important steps and settings in the HDL Workflow Advisor