โ Digital Electronics learning pathDigital Electronics ยท Module 7 of 10
Counters and registers
Counting, dividing and storing data.
๐ Key ideas
- A register is a group of flip-flops storing a word; a shift register moves bits left or right each clock.
- An n-bit binary counter counts 0 to 2^n - 1.
- Asynchronous (ripple) counters clock each stage from the previous one; synchronous counters clock all stages together.
- A MOD-N counter resets after N states, for example a MOD-10 decade counter.
- 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