beautypg.com

The global setting “autoalign – Teledyne LeCroy Sierra M124 User Manual User Manual

Page 295

background image

    

Sierra M124 SAS/SATA Protocol Analyzer User Manual

293

Overview of Generation and Global Settings Files

Teledyne LeCroy

Details about each group of settings are described in the Traffic Generation Language 
section.

Editing Settings.inc

Text in the Settings.inc file can be edited directly or copied into the beginning of the 
traffic generation file and edited there.

When editing global settings, keep in mind the following rule: The last line encountered 
before the generation block takes precedence. Thus, if the following two lines about the 
device emulation were added just above the generation block, the second would take 
effect:

set GenerationMode = GEN_MODE_SATA_HOST
set GenerationMode = GEN_MODE_SAS_INITIATOR 

The Global Setting “AutoAlign”

AutoAlign is a global setting that may be on or off depending on the type of device you 
are emulating. There is an AutoAlign setting for SAS and one for SATA, for example, “set 
AutoAlignSAS = ON” and “set AutoAlignSATA=OFF.”

SAS: Sends AutoAligns every 2048 DWORDs.

SATA: Sends AutoAligns every 256 DWORDs.

If you plan to set and reset AutoAlign in the middle of traffic generation, you need to 
know what the defaults are for AutoAlign. The defaults are as follows:

For SATA host/device emulation,:

AutoAlignSATA is assumed to be ON.

AutoAlignSAS is assumed to be OFF.