beautypg.com

3 the global setting “autoalign, 4 placing global settings in the generation block – Teledyne LeCroy Sierra M6-2 SAS_SATA Protocol Analyzer User Manual User Manual

Page 411

background image

    

Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual

409

Overview of Generation and Global Settings Files

Teledyne LeCroy

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

5.7.3

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.

For SAS emulation, the assumptions are opposite:

AutoAlignSATA is assumed to be OFF.

AutoAlignSAS is assumed to be ON.

For STP:

AutoAlignSAS and AutoAlignSATA are assumed to be ON.

5.7.4

Placing Global Settings in the Generation Block

Some global settings such as AutoAlign = On/Off can be set and reset in the generation
block. For example, you might want to set SASAutoAlign = ON prior to traffic generation,
and then change to OFF halfway through the generation session.