Example 9: creating a sequence with many states #2, Table 17 example 9: logic of sequence 0 – Teledyne LeCroy SAS_SATA InFusion - Users Manual User Manual
Page 93

SAS InFusion User Manual
Version 2.0
LeCroy Corporation
79
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. Table 17 summarizes each state.
Table 17
Example 9: Logic of Sequence 0
Step 1
Click the New Scenario button in the main library or one of the
device libraries. At the top of the scenario area, enter general
scenario information, including scenario name, description, and
direction of traffic change.
Note: For an example of filling-in the general scenario information
fields, see Figure 41 and Figure 42.
Step 2
As in previous examples, create the five states for this
sequence.
Step 3
In the File menu, select Save Scenario to save the scenario
(Figure 85 and Figure 86).
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