
LeCroy Corporation
Example 9: Creating a Sequence With Many States #2
364
Sierra M6
‐
2 SAS/SATA Protocol Analyzer User Manual
Example 9: Creating a Sequence With Many States #2
In this example, a five
‐
state sequence not only detects if a group of primitives is received
out
‐
of
‐
order, but it fixes any incorrect order. The logic is similar to that of example 8 with
a few small changes. The following table summarizes each state.
TABLE 4.11: Example 9: 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, replace primitive with Align (1) and go to Indicate
Error.
Wait for Align (2)
If an Align (2) is received next, go to Wait for Align (3);
otherwise, replace primitive with Align (2) and go to Indicate
Error.
Wait for Align (3)
If an Align (3) is received next, restart test;
otherwise, replace primitive with Align (3) and go to Indicate
Error.
Indicate Error
Indicate error and restart test.