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.5 (2024 Q3) R2024a*
    R2023b*
    R2023a*
    R2022b*
    2021 2021 2024 Q3 2024 Q3 2024 Q3
    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.5 (2024 Q3) R2024a*
    R2023b*
    R2023a*
    R2022b*
    2023 and 2024 2023 and 2024 2024 Q3 2024 Q3 2024 Q3
    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 accordingly before using release 24.5.

** 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

  1. Open the MATLAB Add-On Explorer.
  2. Use the search bar to find HDL Coder Support Package for NI FPGA Hardware
  3. Install the add-on.
  4. Restart MATLAB.

Compile Server Considerations

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.