
LeCroy Corporation
Sierra Trainer Generation Language
402
Sierra M6
‐
2 SAS/SATA Protocol Analyzer User Manual
Primitives
Primitives can be defined using the following:
Byte values ('k' indicates control symbol). The 10b codes are calculated based on
the current running disparity
Primitives are completely interchangeable with SymChains.
Example:
Primitive "CHAIN (ONE)" = kBC 1E 1E 1E kBC 1A 0F
SymChain ChainTwo = k28.5 D12.3 D10.2 D11.6
SymChain ChainThree = k28.3 3EA 25 k18 IFA
Primitive SOF = kBC 18 E4 67
Primitive EOF = kBC 18 F0 9B
Raw 10 bits codes. This definition might cause running disparity errors.
Example:
Primitive "CHAIN (TWO)" = 305 2D4 1E4 362
Mixed bytes and 10b codes. This definition might cause running disparity errors.
Example:
Primitive "CHAIN (TWO)" = 305 2D4 1E4 362 ["CHAIN (ONE)"]
Packets/ Frames
Using the “Frame” or “Packet” keyword, you can define a frame of traffic to use in the
generation stream. Declarations of prolog and epilog may be mixed with field
declarations.
Frame "name" : "parent name"
{
Field Definition 0: "Field Name : Field Length = Default Value"
…
Field Definition n: "Field Name : Field Length = Default Value"
Primitive Definition 0: "Primitive name, offset, count"
…
Primitive Definition m: "Primitive name, offset, count"
Prolog = "primitive name"
Epilog = "primitive name"
}