Patternmaskwrite – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual
Page 57

Methods of the IGCGenerator Class
Classes of the C++ Interface
CATC IBTrainer InfiniBand Exerciser API Reference
2-35
• ACTION_NEGATEPATTERN
This negates the pattern that determines the pattern ‘hit’ .
You can select any combination of these actions using OR.
“PatternMaskWrite”
below,
“PatternOffsetWrite” on page 2-36
and
“PatternValueWrite” on page 2-37
PatternMaskWrite
void PatternMaskWrite ( IN ig_int8 pattern, IN const IGCVal & mask );
Writes the pattern mask in the selected pattern matcher. Pattern
matching will take place only on bits where the mask contains a 1.
None
pattern
Selects t
he pattern matcher where the mask is to be written. Values
taken by pattern can be:
• PATTERN_GENERIC
The mask in the Generic pattern matcher is written.
• PATTERN_BUFFER
The mask in the MAD Buffer pattern matcher is written.
• PATTERN_LOWERMEMORY
The Low Receive Pattern Memory pattern matcher is written.
PATTERN_UPPERMEMORY
The mask in the High Receive Pattern Memory pattern matcher is
written.
mask
The pattern will be checked only on the bits where the mask contains a
1.
“PatternActionWrite” on page 2-34
, “
PatternOffsetWrite”
below and
“PatternValueWrite” on page 2-37
See also
Call
Description
Return Value
Input Parameters
See also