Contenu principal

FPGA Debug

R2026b

HDL Coder™ provides FPGA data capture and AXI manager features for debugging and testing implementations on an FPGA or SoC device from MATLAB® or Simulink®.

  • FPGA data capture — Observe signals from your FPGA design while the design runs on the FPGA. In the data capture process, you can capture a window of signal data from the FPGA based on your configuration, trigger, and capture settings and return the data to MATLAB or Simulink.

  • AXI Manager — Read from and write to on-board memory locations from MATLAB or Simulink.

FPGA Data Capture

You must have an HDL design to perform data capture. There are two FPGA data capture workflows:

For more detailed generation and data capture steps for both workflows, see Data Capture Workflow (SoC Blockset).

Key Capabilities

At run-time, from MATLAB or Simulink, you can:

Supported FPGA Vendors and Interfaces

FPGA data capture supports these FPGA vendors and interfaces:

  • AMD®

    • JTAG

    • Ethernet

      • Programmable logic (PL) Ethernet

      • Processing system (PS) Ethernet

    • USB Ethernet

  • Intel®

    • JTAG

For a complete list of supported boards and interfaces, see Supported Third-Party Tools and Hardware (SoC Blockset).

AXI Manager

You must have an HDL design to perform AXI manager operations. There are two AXI manager workflows:

For more detailed steps for accessing memory-mapped locations with this workflow, see Specify Insertion of AXI Manager IP.

Key Capabilities

To read and write memory-mapped locations on the board:

Supported FPGA Vendors and Interfaces

AXI manager supports these FPGA vendors and interfaces:

  • AMD

    • JTAG

    • Ethernet

      • PL Ethernet

      • PS Ethernet (Not supported via HDL Coder workflow)

    • PCI Express (Not supported via HDL Coder workflow)

    • USB Ethernet (Not supported via HDL Coder workflow)

  • Intel

    • JTAG

    • Ethernet

      • PL Ethernet

    • PCI Express (Not supported via HDL Coder workflow)

For a complete list of supported boards and interfaces, see Supported Third-Party Tools and Hardware (SoC Blockset).

Preregistered FPGA Devices with FPGA Debug

Install HDL Coder Support Package for Intel FPGA and SoC Devices

HDL Coder supports FPGA data capture and AXI manager on the devices as described in HDL Language Support and Supported Third-Party Tools and Hardware. The support package contains the definition files for all supported boards. You must download the package before you can use FPGA data capture or AXI manager.

To download a support package:

  • To download a support package, on the MATLAB Home tab, in the Environment section, click Add-Ons > Get Hardware Support Packages.

Set Up Hardware Board

Hardware boards require additional setup steps to connect to MATLAB and Simulink software. The Hardware Setup (SoC Blockset) tool guides you through the hardware setup process. Use this tool to configure a target hardware board and to use the FPGA data capture and AXI manager features.

To open the Hardware Setup tool:

  • In the install window, at the end of the installation process, click the Setup Now button.

  • After installing the support package, use Get and Manage Add-Ons. When the installation is complete, in the Installed section of the Add-Ons panel, click the Options button to the right of the support package that you want to set up. Then, select Setup.

    To open the Add-Ons panel, click the Add-Ons icon on the left sidebar.

For more information on the setup steps, see Set Up AMD FPGA and SoC Devices (SoC Blockset).

See Also

Topics