Patternvaluewrite – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual
Page 59

Methods of the IGCGenerator Class
Classes of the C++ Interface
CATC IBTrainer InfiniBand Exerciser API Reference
2-37
offset
The offset value has to be DWORD aligned.
“PatternActionWrite” on page 2-34
,
“PatternMaskWrite” on page 2-35
and
“
PatternValueWrite”
below
PatternValueWrite
void PatternValueWrite ( IN ig_int8 pattern, IN const IGCVal & value );
Writes a 64-bit comparison pattern into the value register of the
selected pattern matcher. The incoming patterns will be compared
against this pattern value, but only on those bits where the mask has
been set to 1 (refer to
“PatternMaskWrite” on page 2-35
).
None
pattern
Selects t
he pattern matcher where the pattern value is to be written.
Values taken by pattern can be:
• PATTERN_GENERIC
The pattern value will be written into the Generic pattern matcher.
• PATTERN_BUFFER
The pattern value will be written into the MAD Buffer pattern
matcher.
• PATTERN_LOWERMEMORY
The pattern value will be written into the Low Receive Pattern
Memory pattern matcher.
• PATTERN_UPPERMEMORY
The pattern value will be written into the High Receive Pattern
Memory pattern matcher.
value
A 64-bit value to compare against. The value should “match” the binary
mask as set by PatternMaskWrite. Remember, the pattern matchers will
perform a comparison only on the bits where the mask has been set to
1.
See also
Call
Description
Return Value
Input Parameters
See also