Main Content

FPGA Data Capture

R2026b
Capture signal data from live FPGA

Use FPGA data capture to observe signals from your design while the design is running on the FPGA. This feature captures a window of signal data from the FPGA and returns the data to MATLAB® or Simulink®. To capture the signals, HDL Coder™ generates an IP core that you must integrate into your HDL project and deploy to the FPGA along with the rest of your design. HDL Coder also generates a tool, System object™, and Simulink model that communicate with the FPGA and return the data to MATLAB or Simulink.

To capture FPGA data:

  1. Generate customized components and an IP core. Specify port names and sizes for the generated IP. These ports connect to the signals you want to capture, and the signals you want to use as triggers to control when the capture occurs.

  2. Integrate the generated IP into your FPGA design and deploy the design to your FPGA board.

  3. Use the generated tool, System object, or Simulink model to capture data for analysis, verification, or display. You can configure a trigger condition to control when the capture occurs and a capture condition to control which data to capture.

For this step, you must download a required hardware support package. Available support packages are:

  • HDL Coder Support Package for Intel® FPGA and SoC Devices

  • SoC Blockset™ Support Package for AMD FPGA and SoC Devices

See Data Capture Workflow.

Tools

FPGA Data Capture Component GeneratorConfigure and generate FPGA data capture components
FPGA Data CaptureCapture data from live FPGA into MATLAB workspace interactively

Functions

hdlverifier.FPGADataReaderCapture data from live FPGA into MATLAB workspace
generateFPGADataCaptureIPOpen FPGA Data Capture Component Generator

Apps

Logic AnalyzerVisualize, measure, and analyze transitions and states over time

Blocks

FPGA Data Reader blockFPGA Data ReaderCapture data from live FPGA into Simulink model

Topics

Overview

Data Capture Requirements and Preparation

Data Capture Processes

Featured Examples