| Counter | ||||||||||||||
| Counter increments an unsigned binary value from 0 to N | ||||||||||||||
| Consider a T flip-flop with hardwired input of 1: |
|
|||||||||||||
| The behavior can be represented by a timing diagram: | ||||||||||||||
|
||||||||||||||
| Value of Q toggles at each positive clock edge. | ||||||||||||||
| Notice that if the clock period is t, the period of the output Q | ||||||||||||||
| is exactly double the clock period, or 2t. | ||||||||||||||