HDL Coder Support Package for NI FPGA Hardware

Version 24.0 (1.81 MB) by NI Team HIL
Generates bitfiles for NI FPGA hardware
360 Downloads
Updated 31 Jan 2024

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

  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.

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
Created with R2020a
Compatible with R2022b and later releases
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

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

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

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.