LeCroy Corporation
Scenario Events
334
Sierra M6
‐
2 SAS/SATA Protocol Analyzer User Manual
DWORD Matcher
DWORD Matcher is a DWORD pattern matcher that presents match and mask fields and a
K
‐
Code Mask field. K
‐
Codes are control characters that are always used in the first byte of
a four
‐
byte primitive. Of the K
‐
Code masks listed in the menu, D
‐
D
‐
D
‐
D is used for data
bytes, and K
‐
D
‐
D
‐
D is used for all primitives.
When you create a DWORD match, keep the following in mind:
The pattern can be inside or outside of frames (it does not matter if the pattern
is inside a frame or not).
Because the pattern can be inside or outside of frames, there is no offset.
You can make user
‐
defined primitives. (This is the reason this feature was cre
‐
ated.)
You can use any K/D pattern.
SAS Data Pattern
When you create a SAS data pattern, keep the following in mind:
The pattern must be defined inside a frame that starts with a SOF or SOAF.
The pattern must be data only (no K
‐
codes/primitives).
The pattern must be defined at a specific offset in the frame.
The pattern and mask must be specified in the same format as specified in the
SAS standard:
0x12345678 (hex)
where “1” is the first digit on the cable and is the MSB as given in the SAS Stan
‐
dard.
For example, for an SMP Request:
Pattern: 0x40000000
Mask: 0xFF000000
Offset: 0
SOF Type: SOF
SATA Data Pattern
When you create a SATA data pattern, keep the following in mind:
The pattern must be defined inside a frame that starts with a SATA_SOF.
The pattern must be data only (no K
‐
codes/primitives).
The pattern must be defined at a specific offset in the frame.
The pattern and mask must be specified in the same format as specified in the
SATA Standard.
For example, for Register H
‐
> D FIS:
Pattern: 0x00000027
Mask: 0x000000FF
Offset: 0