主要内容

FPGA Debug

R2026b

SoC Blockset™ for AMD 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.

Key Capabilities

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

You can also:

  • Capture data from different clock domains by using multiple FPGA data capture IPs. See Capture Asynchronous Data.

  • Capture large data sets up to two gigasamples by utilizing the external DDR memory connected to the FPGA. See Storage type.

  • Include trigger input and output ports to each data capture IP. Use these ports to pass the trigger signal from one data capture IP to another. See Include trigger inport and Include trigger outport.

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.

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 (HDL Coder).

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.

Preregistered FPGA Devices with FPGA Debug

Install SoC Blockset Support Package for AMD FPGA and SoC Devices

SoC Blockset for AMD supports FPGA data capture and AXI manager on the devices as described in 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 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.

See Also

Topics