HDL Coder Support Package for NI FPGA Hardware
HDL Coder Support Package for NI FPGA Hardware
HDL Coder™ Support Package for NI FPGA Hardware enables generating bitfiles for NI FPGA hardware from HDL Coder by providing LabVIEW FPGA integration.
This workflow allows you to perform the following actions:
- Map algorithm I/O to onboard interfaces
- Generate HDL code
- Generate a LabVIEW FPGA project and create a bitfile. Once created, you can upload this file to NI FPGA Hardware.
Note: This support package is functional for R2022b and later releases listed in the table below
Software Compatibility
-
For 32-bit LabVIEW -
HDL Coder™ Support Package for NI FPGA Hardware MathWorks Simulink® LabVIEW Full or Professional Development Systems(32-bit) LabVIEW FPGA Module(32-bit) NI R Series Multifunction RIO with LabVIEW Support(32-bit)** FlexRIO with Integrated IO(PXIe-7890/7891)*** IP to FPGA Conversion Utility 24.0(2024 Q1) R2023b*
R2023a*
R2022b*2020 and 2021 2020 and 2021 2023 Q2 2023 Q2(Only LabVIEW 2021 supported) 2024 Q1 23.5 (2023 Q3) R2023a*
R2022b*2020 and 2021 2020 and 2021 2023 Q2 2023 Q2(Only LabVIEW 2021 supported) 2023 Q3 23.3 (2023 Q2) R2023a*
R2022b*2020 and 2021 2020 and 2021 2023 Q1 Not Supported 2023 Q2 23.0 (2023 Q1) R2022b* 2019, 2020 and 2021 2019, 2020 and 2021 2022 Q4 Not Supported 2023 Q1 -
For 64-bit LabVIEW -
HDL Coder™ Support Package for NI FPGA Hardware MathWorks Simulink® LabVIEW Full or Professional Development Systems(64-bit) LabVIEW FPGA Module(64-bit) NI R Series Multifunction RIO with LabVIEW Support(64-bit)** FlexRIO with Integrated IO(PXIe-7890/7891)*** IP to FPGA Conversion Utility 24.0(2024 Q1) R2023b*
R2023a*
R2022b*2023 2023 2023 Q2 2023 Q2 2024 Q1 23.5 (2023 Q3) R2023a*
R2022b*2023 2023 2023 Q2 2023 Q2 2023 Q3 23.3 (2023 Q2) R2023a*
R2022b*2023 2023 2023 Q1 Not Supported 2023 Q2
* make sure to look up the known issues table and apply any suggested workarounds.
** Note: NI R Series Multifunction RIO with LabVIEW Support driver is required only for R-series devices.
*** Note: FlexRIO with Integrated IO driver is needed only for PXIe-7890/7891 devices.
Installation Guide for HDL Coder Support Package for NI FPGA Hardware
Before you begin, install the supported versions of MathWorks MATLAB®, Simulink® and HDL Coder™.
Install and activate LabVIEW Full or Professional Development Systems , LabVIEW FPGA Module, NI R Series Multifunction RIO LabVIEW Support, FlexRIO and IP to FPGA Conversion Utility.
Install HDL Coder Support Package for NI FPGA Hardware
- Open the MATLAB Add-On Explorer.
- Use the search bar to find HDL Coder Support Package for NI FPGA Hardware
- Install the add-on.
- Restart MATLAB.
Compile Server Considerations
- Local Compile Server – To install the recommended version of the Xilinx compilation tool, refer to Compatibility between Xilinx Compilation Tools and NI FPGA Hardware. Install the compilation tool from LabVIEW FPGA Compilation Tool.
- Network Compile Server – To set up a network compile server, refer to NI LabVIEW FPGA Compilation Options.
- LabVIEW FPGA Compile Cloud Service – To set up an account to use the cloud compile service, refer to Creating an Account for the NI LabVIEW FPGA Compile Cloud Service. For more details on Compile Cloud Service, refer to Compile Faster with the LabVIEW FPGA Compile Cloud Service.
Known Limitations
- Only supports VHDL.
- No support for double precision ports (single precision is supported).
- Only registers CPU-FPGA communication through Read/Write controls.
- No support for purely combinatorial circuits, such as circuits without clocks.
- Cannot connect array and complex ports to board I/O.
- Post code generation ports in VHDL entity that do not have a corresponding model port(e.g., clk_enable) will be mapped to registers.
- Save and Load Restore Point does not work.
- Auto-restore last exited session does not work.
- Only English LabVIEW is supported.
Cite As
NI Team HIL (2024). HDL Coder Support Package for NI FPGA Hardware (https://github.com/ni/hdlcoder-support-package-for-nifpga-hardware/releases/tag/v24.0), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
matlab_support
matlab_support/+Common
matlab_support/FlexRIOMultifunctionIOModules
matlab_support/FlexRIOMultifunctionIOModules/+PXIe7890KU060
matlab_support/FlexRIOMultifunctionIOModules/+PXIe7890KU060/+ReferenceDesign
matlab_support/FlexRIOMultifunctionIOModules/+PXIe7891KU060
matlab_support/FlexRIOMultifunctionIOModules/+PXIe7891KU060/+ReferenceDesign
matlab_support/RSeries
matlab_support/RSeries/+PXIe7820R
matlab_support/RSeries/+PXIe7820R/+ReferenceDesign
matlab_support/RSeries/+PXIe7821R
matlab_support/RSeries/+PXIe7821R/+ReferenceDesign
matlab_support/RSeries/+PXIe7822R
matlab_support/RSeries/+PXIe7822R/+ReferenceDesign
matlab_support/RSeries/+PXIe7846R
matlab_support/RSeries/+PXIe7846R/+ReferenceDesign
matlab_support/RSeries/+PXIe7847R
matlab_support/RSeries/+PXIe7847R/+ReferenceDesign
matlab_support/RSeries/+PXIe7856R
matlab_support/RSeries/+PXIe7856R/+ReferenceDesign
matlab_support/RSeries/+PXIe7857R
matlab_support/RSeries/+PXIe7857R/+ReferenceDesign
matlab_support/RSeries/+PXIe7858R
matlab_support/RSeries/+PXIe7858R/+ReferenceDesign
matlab_support/RSeries/+PXIe7861
matlab_support/RSeries/+PXIe7861/+ReferenceDesign
matlab_support/RSeries/+PXIe7862
matlab_support/RSeries/+PXIe7862/+ReferenceDesign
matlab_support/RSeries/+PXIe7865
matlab_support/RSeries/+PXIe7865/+ReferenceDesign
matlab_support/RSeries/+PXIe7866
matlab_support/RSeries/+PXIe7866/+ReferenceDesign
matlab_support/RSeries/+PXIe7867R
matlab_support/RSeries/+PXIe7867R/+ReferenceDesign
matlab_support/RSeries/+PXIe7868R
matlab_support/RSeries/+PXIe7868R/+ReferenceDesign
Examples/HalfWaveRectifier
Examples/HalfWaveRectifier
Version | Published | Release Notes | |
---|---|---|---|
24.0 | See release notes for this release on GitHub: https://github.com/ni/hdlcoder-support-package-for-nifpga-hardware/releases/tag/v24.0 |
|
|
23.5 | See release notes for this release on GitHub: https://github.com/ni/hdlcoder-support-package-for-nifpga-hardware/releases/tag/v23.5 |
|
|
23.3.1.0 | See release notes for this release on GitHub: https://github.com/ni/hdlcoder-support-package-for-nifpga-hardware/releases/tag/v23.3.1 |
|
|
23.3.0.0 | See release notes for this release on GitHub: https://github.com/ni/hdlcoder-support-package-for-nifpga-hardware/releases/tag/v23.3 |
|
|
23.0.0.0 | See release notes for this release on GitHub: https://github.com/ni/hdlcoder-support-package-for-nifpga-hardware/releases/tag/v23.0 |
|
|
22.8 |
|