Intermediate Registers, Counters & Memory 10 components
4-Bit Ring Counter
Four D flip-flops in a loop. The Preset input loads a single 1 (state 1000); each clock pulse then shifts that 1 around the ring, giving a one-hot sequence.
What You'll Learn
- Build a one-hot sequence from a shift loop
- Use preset/clear to initialise a counter
- Trace the circulating 1
How It Works
Four D flip-flops form a loop, each feeding the next and the last feeding the first. The Preset input loads a single 1 (state 1000); every clock then shifts that 1 one position around the ring, producing a one-hot sequence.
Components Used
Real-World Applications
Sequencers, stepper-motor drivers, and round-robin timing/control.