beautypg.com

Global rules, Sequences – Teledyne LeCroy Sierra M6-1 SAS_SATA Protocol Analyzer User Manual User Manual

Page 239

background image

    

Sierra M6‐1 SAS/SATA Protocol Analyzer User Manual

237

InFusion Scenarios

  Teledyne LeCroy

Global Rules

Global Rules are a portion of the scenario that can define only one test state. To create 
the Global Rules, you use the menu‐driven interface to enter an event or combined event 
and the corresponding action or set of actions (the response of InFusion hardware to the 
event).

In the case of a combined event, the action is taken upon occurrence of any of the events 
stated for the event combination. It is a logical OR association, meaning any of the events 
can trigger the action.

After you enter the event or combined event, the interface prompts you for actions. An 
action might be, for example, injecting a particular primitive or error into the traffic 
stream. You can enter multiple actions, which take place simultaneously. 

After defining the event and actions within the Global Rule area, you can save the 
scenario and download it to a InFusion device.

Sequences

The Global Rules are all you need for simple test scenarios. However, a scenario also can 
contain one or two sequences, which can define multiple states and allow branching 
between states. With a sequence, you also can do looping, which allows you to repeat a 
test state or to execute a test for a specified period of time.

As with Global Rules, the menu‐driven interface guides you in building a sequence. Some 
of the prompts are different, however, because you now are encapsulating groups of 
events and actions as distinct states. Recall that a state is a combination of events and 
actions at a specific point in time. If the event or combined event defined by a state 
occurs, the corresponding action or set of actions follows.

Figure 4.7: Global Rules and Sequence Areas of a Scenario

InFusion hardware provides the capacity to have up to two sequences co‐existing in a 
scenario in addition to the Global Rules. Recall that both the Global Rules and any 
sequences are active at all times. Each is a separate “state machine,” having the behavior