Skip to content
LearnTronics menu

LearnTronics

The SR Latch — Electronic Set and Reset

Tutorial Index

The electronic version of Set and Reset

The relay seal-in circuit gave us a physical memory. An SR latch gives us a very similar idea using logic gates.

SR LATCH — CROSS-COUPLED NOR GATES + R Q + S ~Q Each output feeds back into the other gate. That feedback creates memory.

S means Set; R means Reset

For the active-HIGH NOR version shown here:

SRQ(next)Meaning
00Q(previous)Hold / remember
101Set
010Reset
11invalidAvoid for the basic NOR latch

Compare it with START and STOP

The relay's START button resembles a Set command. STOP resembles a Reset command. Both arrangements can remember a state after the momentary command is gone.

They are not identical circuits, but the comparison helps connect mechanical control logic to electronic memory.

Why feedback creates memory

Each NOR gate receives the other's output as one of its inputs. Once one side wins, that output helps keep the opposite side in the complementary state.

That is why a simple truth table of only S and R is not quite enough; the previous Q matters during the hold condition.

Important notation: Q is the stored output. ~Q is normally its complement.

Try these yourself

For the active-HIGH NOR SR latch, what does S=1 and R=0 do? SR LATCH — CROSS-COUPLED NOR GATES + R Q + S ~Q Each output feeds back into the other gate. That feedback creates memory.
Set asserted with Reset low drives Q to the set state.
What happens when S=0 and R=0 after a state has already been established?
With neither input asserted, the cross-coupled feedback preserves the previous state.
Why is S=1 and R=1 normally avoided on a simple NOR SR latch?
Both NOR outputs are forced low, destroying the normal complementary relationship; release timing can then make the resulting state unpredictable.