1.1.1.3 Class 2 – Direct State Transition and State Output

The Class 2 state machine is a portion of the general state machine where both the next state, X , and the outputs, I , are determined by the present state alone. The portion of the general state machine included in Class 2 is shown with solid lines in Figure 1-4.

An important concept introduced in this section is the idea of a sequence of states, where one state is followed by another state in a specific sequence. The next-state and output expressions for a Class 2 state machine are:

Equation 1-5. Class 2 Next-State Expression
X g [ X ]
Equation 1-6. Class 2 Output Expression
I = f [ X ]

An example of a Class 2 state machine could be a simple three-bit hardware counter that cycles through the states in a specific sequence:

( s t a t e   0   s t a t e   1   s t a t e   2   s t a t e   7   s t a t e   0 )
Figure 1-4. General Class 2 State Machine