FSM cont. #
Design rules #
- If we cannot determine function(s) of combinational circuit(s) in advance:
- Model FSM as FSD
- May need to design bit-slice 1st
- Determine number of flip flops (dependent on the number of states you need)
- Convert the FSD to truth table
- Find minimal expressions for next state variable(s) and output(s)
- Draw the complete circuit with flip-flops
- Model FSM as FSD
- Otherwise
- Use bit-serial design with known modules
- Or, bit-parallel design with known modules
Example #
Lets design a Moore state machine that accepts the string \( 101 \) .
As a box diagram:
Step 1, create a finite state diagram: