Setting Up the Software Environment
Please refer to the
Github page for software version compatibility and install the software in the following order,
1. Install the supported versions of MathWorks MATLAB®, Simulink®, and HDL Coder™.
2. Install and activate LabVIEW Full or Professional Development Systems (32-bit), LabVIEW FPGA Module (32-bit), NI R Series Multifunction RIO LabVIEW Support (32-bit), and IP to FPGA Conversion Utility.
3. Install HDL Coder™ Support Package for NI FPGA Hardware from MATLAB® Add-Ons Explorer or download and install from Github.
Generate NI FPGA Bitfile
1. Before generating bitfile, Simulink HDL model file must be completed and verified in HDL Coder™.
2. Open the MATLAB® Help Documentation for HDL Coder™ Support Package for NI FPGA Hardware.
3. Follow the help contents in
Getting Started with HDL Coder™ Support Package for NI FPGA Hardware to set MATLAB® compiler, select hardware target, set FPGA I/O Interface and model frequency, check model settings, configure HDL code generation and generate NI FPGA hardware bitfiles.
4. When bitfile is generated successfully, you can see the status from HDL Workflow Advisor and compilation window.