beautypg.com

Teledyne LeCroy Sierra M6-2 SAS_SATA Protocol Analyzer User Manual User Manual

Page 384

background image

Teledyne LeCroy

Example 8: Creating a Sequence With Many States #1

382

 

 

Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual

4.11

Example 8: Creating a Sequence With Many States #1

In this example, a five‐state sequence detects if a group of primitives is received 
out‐of‐order from the initiator. The expected order is: Align (0), Align (1), Align (2), Align
(3). If this scenario detects any other order of these primitives, it causes the device to
beep and the scenario to restart.

This example is designed to give you an idea of the powerful logic that you can
implement with sequences.

Note that the states in this sequence have been renamed (do not have their default
names). The following table summarizes the sequence logic.

TABLE 4.11: Example 8: Logic of Sequence 0

1. Click the New Scenario button in the main library or one of the device libraries. In

the Scenario Properties dialog, enter the scenario name, description, and direction
of traffic change.

2. As in previous examples, create the five states for this sequence.

State

Description

Wait for Align (0)

When an Align (0) is received, go to Wait for Align (1).

Wait for Align (1)

If an Align (1) is received next, go to Wait for Align (2);
otherwise, go to Indicate Error.

Wait for Align (2)

If an Align (2) is received next, go to Wait for Align (3);
otherwise, go to Indicate Error.

Wait for Align (3)

If an Align (3) is received next, restart test;
otherwise go to Indicate Error.

Indicate Error

Indicate error and restart test.