T Flip-Flop
A T flip-flop changes state on an active clock edge when its toggle input is high. When T is low, it retains its current state. With T held high, Q toggles every clock edge and produces a divide-by-two output. This makes the T flip-flop useful in binary counters, clock dividers and sequence logic. The diagram shows the minimum signals needed to understand the behavior: a toggle control, a clock, and complementary outputs. Add reset circuitry when the counter or divider needs a known initial state.
Open it in the AI editor with a prompt pre-filled — keep what works, change what doesn't.
Scenario
A toggle-controlled sequential logic stage.
Key decisions
- Toggle input: T determines whether the state changes at the clock edge.
- Clock input: The clock controls when the change occurs.
- Complementary outputs: Q and Q-bar show the stored state.
When to reuse this
Use this for counters and divide-by-two stages.
Frequently asked questions
What does the T input do?
Why is a T flip-flop useful for counters?
What is Q-bar?
Tweak it with chat, export PNG/SVG, or fork it for your own use case.