FPGA Data Capture Component Generator
Configure and generate FPGA data capture components
Description
The FPGA Data Capture Component Generator tool configures and generates components for capturing data from a design running on an FPGA. The generated components capture a window of signal data from the FPGA and return the data to MATLAB® or Simulink®.
To use this tool, you must have an existing HDL design and FPGA project. To capture the signals, HDL Verifier™ generates an IP core that you must integrate into your HDL project, and deploy to the FPGA along with the rest of your design.
The Generate button in this tool generates these components:
HDL IP core, for integration into your FPGA design. Connect the signals you want to capture and use as triggers, and connect a clock and clock enable.
Generation report, with list of generated files and instructions for next steps.
Tool to set capture parameters and capture data to the MATLAB workspace. See FPGA Data Capture.
Customized version of the
hdlverifier.FPGADataReader
System object™ that provides an alternative, programmatic, way to configure and capture data.Simulink model that contains a customized FPGA Data Reader block. If you have a DSP System Toolbox™ license, this model streams the captured signals into the Logic Analyzer waveform viewer. Otherwise, the Scope block displays the signals.
MAT file in the
format, wheredatacapture
_gensettings.mat
is the name of the generated HDL IP core. This MAT file holds the data capture build parameters. To reload the same design in your next iteration, provide this MAT file as an input argument to thedatacapture
generateFPGADataCaptureIP
function.
For a workflow overview, see Data Capture Workflow.
Open the FPGA Data Capture Component Generator
At the MATLAB command prompt, enter this command.
generateFPGADataCaptureIP
To reload the parameters of the most recent design, use the restore
argument.
generateFPGADataCaptureIP('restore',true);
To reload the parameters of a design you already generated and saved in a MAT file,
use the matFile
argument.
generateFPGADataCaptureIP('datacapture_gensettings.mat');
datacapture
is the name of the
generated HDL IP core that you specify in the Generated IP name
parameter.Parameters
Version History
Introduced in R2017a