Sequential logic

Example use case

Christmas tree light
A B C A B C A B C A B C
A B C A B C A B C A B C
A B C A B C A B C A B C
A B C A B C A B C A B C
it feels like the lights are 'running'

x1 x2 action
0 0 all off
0 1 ABCABC
1 0 CBABCA
1 1 all on

Every state is represented by a code. State is updated every clock tick the state is updated based on the current state+code
rM drawing 2025-11-06-12.42.21.png|400

D-type flip-flop

Q->Q' D
0->0 0
0->1 1
1->0 0
1->1 1

rM drawing 2025-11-06-12.46.31.png|500

Synchronous Moore automaton

To minimize the automaton, we must find steps which output the same states.

Equivalence of states of automatons
Definition 2

Two states si and sj of completely specified

Initial graph and state transition table

rM drawing 2025-11-06-13.33.19.png|600

Implication matrix