Example: Design a 3-bit up counter
1. State diagram
current state next state0 000 001 11 001 010 22 010 011 33 011 100 44 100 101 55 101 110 66 110 111 77 111 000 0
2. State-transition table
Like a truth-table
State encoding is easy for counters
Use count value
Previous slide
Next slide
Back to first slide
View graphic version