Back to course

Flip-Flops: SR Flip-Flop (Edge-Triggered)

Digital Logic Systems: From Zero to Hero

31. Flip-Flops: SR Flip-Flop (Edge-Triggered)

Flip-Flops (FFs) are the fundamental storage elements in synchronous systems. They are constructed by adding clock control logic to a basic latch, typically using a master-slave configuration or dedicated edge-detection circuitry.

SR Flip-Flop Structure

The clocked SR Flip-Flop adds a Clock (CLK) input and uses logic gates to ensure that the S and R inputs are only transferred to the internal latch when the clock is active (or specifically, when the clock edge occurs).

Characteristic Table (Positive Edge Triggered)

$Q(t+1)$ represents the next state, $Q(t)$ represents the current state.

SRCLKQ(t+1)Operation
XX0 or 1 LevelQ(t)Hold (No Edge)
00$\uparrow$Q(t)Hold
01$\uparrow$0Reset
10$\uparrow$1Set
11$\uparrow$XInvalid

Difference from Latch

The FF is immune to input changes while the clock is inactive or stable. It only captures the input values present exactly at the rising (or falling) edge of the clock signal. This isolation is essential for building complex sequential systems like counters and memory banks.