Scan IF Operation
24-25Scan IF
If the PSM is in state 01 of the simplest state machine and the PSM has loaded
the corresponding byte at index 01h of the state table:
Q7 Q6 Q5 Q4 Q3 Q2 Q1 Q0
00000000
For this example, S1 and S2 are set at the end of the next TSM sequence. To
calculate the next state the bits Q5 - Q3 and Q0 of the state 01 table entry,
together with the S1 and S2 signals are combined to form the next state:
Q7 Q6 Q5 Q4 Q3 Q0 S2 S1
00000011
The state table entry for state 11 is loaded at the next state transition:
Q7 Q6 Q5 Q4 Q3 Q2 Q1 Q0
00000010
Q1 is set In state 11, so SIFCNT1 will be incremented.
More complex state machines can be built by combining simple state
machines to meet the requirements of specific applications.