
LeCroy Corporation Sierra Trainer Generation Language
402
Sierra M6‐4 SAS/SATA Protocol Analyzer User Manual
Using Variable Values in Creating Patterns on Bus
In creating patterns to send on bus, trainer script allows using variables. In these cases,
because the created pattern is dynamic, it is not possible to do scrambling and calculating
in software code. These tasks are done in the hardware engine. To activate, set “Auto
scramble mode” in “on” state.
The following examples show uses of variables in creating patterns.
Usevariableforfieldvalue:
SendOpenAddressFrameSSP
{
InitiatorPort = 0x1
InitiatorConnectionTag = @variableName1
…...
}
The constraints are:
Field Length bigger than 64 bit is not supported.
Field StartBitOffset and EndBitOffset should be in same DWORD, except for
length bigger than 32.
UseLRFdirectlyforfieldvalue:
SendSSPFrameCommand_Initiator
{
Data = LRF[startBitOffset:endBitOffset]
Tag = 0x101
}
The constraints are:
Length bigger than 64 bit is not supported.
Offsets (StartBitOffset and EndBitOffset) should be in same DWORD, except for
length bigger than 32.
SendSSPFrameCommand
{
#Data = {00112233 @variableName1 @variableName2 44556677}
}
RawData {
K28.5 D24.0 D30.0 D01.4
@variableName1
50 00 62 B0
00 00 00 30
50 08 05 EF
$C
00 00 00 01
00 00 00 00
SendCRC
K28.5 D24.0 D07.3 D31.4 }
}
Comentarios a estos manuales