Tflipflops
A T flip-flop, or toggle flip-flop, is a bistable circuit that stores a single bit and is controlled by a clock input. It has a data input T and outputs Q and Q' (the complement). On each active clock edge, the stored state updates according to T: if T is 1, Q toggles; if T is 0, Q remains unchanged.
In edge-triggered designs, the next state is Q_next = Q XOR T. Hence, when T = 0, Q_next =
Implementations: A T flip-flop can be built from a JK flip-flop by wiring J = K = T, so
Timing and variants: Most common are edge-triggered types, often positive-edge triggered, with optional asynchronous preset and
Applications: T flip-flops are used to implement divide-by-2 counters and to build higher-bit counters by cascading