5.6. FSM Design Examples
Design a 3-bit up/down binary counter.
Solution:Step 1 – State Diagram Describing the systemStep 2 - 8 possible state 3 Flip Flops required
Use D flip flop since not specified.Step 3 – Assign State variables and redraw state diagramZero One^Seven (^) Six
Note:
Counter changes with each clock which is not shown on state diagram.
up
up
up
Two
up
Down
up
Down
Three
four
down up^
down
Down
down
five
down
up
down
up
UD
0 – up
1 - downUp/Down
3-bit Binary
Counterc 0
c 1
c 2
count 0-7