Main Content


Display overall capture condition

Since R2022a



displayCaptureCondition(DC) displays the signal value comparisons and logical operator that define the overall capture condition. DC is a customized data capture object.


collapse all

This example uses a customized data capture object, DC, that defines two signals for both trigger and data capture. Signal A is 1 bit and signal B is 8 bits.

Enable capture condition logic.

DC.EnableCaptureCtrl = true;

To enable capture condition logic, you must select the Include capture condition logic parameter while generating the data capture IP core using the FPGA Data Capture Component Generator tool.

Set up a capture condition to capture data when the FPGA detects a high value on signal A at the same time as signal B is greater than 7.


Combine comparisons of signals A and B into an overall capture condition using an AND operator.


Display the overall capture condition.

The capture condition is:
A==High and B>7

Input Arguments

collapse all

Customized data capture object, specified as an hdlverifier.FPGADataReader System object.

Version History

Introduced in R2022a