This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

setTriggerCondition

System object: hdlverifier.FPGADataReader
Package: hdlverifier

Configure each signal value comparison, as a part of overall trigger condition

Syntax

setTriggerCondition(DC,name,enable,value)

Description

setTriggerCondition(DC,name,enable,value) specifies a trigger value comparison for a signal, name. The enable argument indicates whether this signal is part of the overall trigger condition.

Input Arguments

expand all

This object is the customized object you created using the FPGA Data Capture Component Generator app.

Specify a signal name matching one that you configured when you generated the object. The signal must be configured as a possible trigger signal.

To use this signal in the overall trigger condition, set this argument to true. When you set this argument to false, this signal is not used for the overall trigger condition.

The trigger condition can be composed of value comparisons of one or more signals. This parameter specifies the value to match for each signal. For a multibit signal, specify a numeric value. For Boolean signals, specify a string that indicates the level or edge to match. See Triggers.