beautypg.com

Primitives, Packets/ frames – Teledyne LeCroy STX M6-1 SAS_SATA Protocol Analyzer User Manual User Manual

Page 396

background image

LeCroy Corporation

Sierra Trainer Generation Language

394

 

 

Sierra M6‐4 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"

}