Data Patterns; Primitives - Teledyne Sierra M6-2 User Manual

Sas/sata protocol analyzer
Table of Contents

Advertisement

Sierra Trainer Generation Language

5.12.6 Data Patterns

Data patterns are streams of hexadecimal values. Using '['']' lets the user include
constants or predefined data pattern in another pattern.
Examples:

5.12.7 Primitives

Primitives can be defined using the following:
Declaring Raw Data Definitions
Primitive primitive_name = byte_data ... byte_data # (byte_data is Decimal, Hex, 10b, K
type or D type format)
SynChain raw_data_name = byte_data ... byte_data # (byte_data is Decimal, Hex, 10b, K
type or D type format)
RawData { param_data ... param_data } #(param_data is byte_data, primitive or
variables)
Example:
 
Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual
OFF
INFINITE
DataPattern PATTERN_1 = AAAABBBB [SOME_HEX_DATA] EEEEFFFF
AAAABBBB 1210ABB1 AAAABBBB 1210ABB1 AAAABBBB 1210ABB1 ["SOME DEC
DATA"] 1210AB
DataPattern PATTERN_2 = 00000000 11111111 22222222 33333333 AAAABBBB
55556666 FEFEFEFE CDCDCDCD 9999BBBB 12343434 6767676B 56BBFF
DataPattern PATTERN_3 = [PATTERN_1] FFFFFFFF EEEEEEEE [SOME_HEX_DATA]
DataPattern SOME_PATTERN = BBBBBBBB DDDDDDDD
Byte values ('k' indicates control symbol). The 10b codes are calculated based on
the current running disparity
Primitives are completely interchangeable with SymChains.
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
SymChain raw_data_1 = K28.1 D23.3 D11.4 D14.6
SymChain raw_data_2 = 345 160 023 K15.3 K28.1 D23.3 D11.4 D14.6 # some
RD errors will occur
raw_data_1 ( 1000 ) # send defined above pattern raw_data_1 1000 times
raw_data_2 (
10 )
raw_data_2 ( 195 )
RawData { 217 2E1 351 362 }# send RawData pattern - some RD errors
will occur
RawData { K28.1 D23.3 D11.4 D14.6 }
# send defined above pattern raw_data_2
# send defined above pattern raw_data_2
# send RawData pattern
Teledyne LeCroy
1210ABB1
10 times
195 times
459

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents