โ† Digital Electronics learning path
Digital Electronics ยท Module 7 of 10

Counters and registers

Counting, dividing and storing data.

๐Ÿ“– Key ideas

  1. A register is a group of flip-flops storing a word; a shift register moves bits left or right each clock.
  2. An n-bit binary counter counts 0 to 2^n - 1.
  3. Asynchronous (ripple) counters clock each stage from the previous one; synchronous counters clock all stages together.
  4. A MOD-N counter resets after N states, for example a MOD-10 decade counter.
  5. Ring and Johnson counters are shift registers with feedback.
๐Ÿ’ก Real-life example: A counter is like a car odometer: each wheel turns the next one after it completes a cycle.
Shift registerMoves stored bits by one position per clock
Ripple counterEach flip-flop clocked by the previous output
MOD-N counterCounter with N states
Synchronous counterAll flip-flops share one clock