beautypg.com

Creating a pattern generator file, 1 key words, 2 comment format – Teledyne LeCroy Sierra M6-2 SAS_SATA Protocol Analyzer User Manual User Manual

Page 479: 3 primitive definition format, 4 loop definition format, 5 scramble definition format, 6 role definition format, 7 end_of_file definition, Appendix a: creating a pattern generator file, S (see

background image

 Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual

477

Appendix A

Creating a Pattern Generator File

You may use any text editor or word processor to create a pattern generator file (*.spg)
using the following conventions:

6.1 Key

words

ALIGN, CONT, DMAT, EOF, HOLD, HOLDA, PMACK, PMNAK, PMREQ_P, PMREQ_S, R_ERR,
R_IP, R_OK, R_RDY, SOF, SYNC, WTRM, X_RDY, XXXX, LOOP, Enable, Disable, Host, Device,
Scramble, Role, END_OF_FILE.

6.2 Comment

format

/*Comment text*/

6.3 Primitive

definition

format

To add an ALIGN primitive, use ALIGN or 27.3 10.2 10.2 K28.5

To add a CONT primitive, use CONT or 25.4 25.4 10.5 K28.3

6.4 Loop

definition

format

You may write a defined pattern into memory repeatedly by enabling a loop.

Loop definition allows either “Enable” or Disable”. To enable looping use: Loop=Enable

6.5

Scramble definition format

Scramble definition allows either “Enable” or Disable”. To enable scramble use:
Scramble=Enable

6.6 Role

definition

format

To specify SATA hardware role: Role=Host or Role=Device

6.7 END_OF_FILE

definition

A pattern generator file must include END_OF_FILE as the last statement in the file.