3-Bit Up/Down Counter
A synchronous 3-bit counter that counts up or down depending on a direction input. T flip-flops toggle under combinational steering logic so all bits change on the same clock edge.
배울 내용
- Build a synchronous up/down counter from T flip-flops
- Derive toggle-enable (steering) logic
- Contrast synchronous and ripple counters
작동 원리
A direction input selects up or down counting. T flip-flops all share one clock; combinational steering logic (T0=1, T1 depends on Q0 and direction, T2 on Q0,Q1 and direction) decides which flip-flops toggle, so every bit changes synchronously on the same edge.
사용된 구성 요소
실제 응용 사례
Address generators that scan forwards and backwards, timers that count up or down, and position counters for motors and encoders.