Why this step? Both equations reproduce the values we assumed → the state is self-consistent = stable. It equally holds Q=0. So S=R=0 ⇒ keep previous value (this is the memory).
Why this step? A 1 on any NOR input forces that gate's output to 0. So S=1 forces Q=0, which then releases the other gate to output Q=1. Result: ==Q=1== (Set).
Why this step? Both outputs become 0 simultaneously, so Q and Q are no longer complementary — the naming is violated. Worse: if S and R then drop to 0at the same instant, both gates try to go high, and the final state depends on tiny timing/gate-delay differences → unpredictable / metastable. Hence forbidden / invalid.
We want Qnext as a function of S,R,Qprev for the three legal rows:
S=1,R=0⇒Qnext=1
S=0,R=1⇒Qnext=0
S=0,R=0⇒Qnext=Qprev
"Force to 1 when Set; keep old value if not being Reset" gives
Qnext=S+RQprev,with constraint SR=0.
The constraint SR=0 is just the promise never to press Set and Reset together.
Why inverted? NAND with a 0 input is forced high, so 0 is the active value. Everything is the logical dual of the NOR latch — same behavior, roles of 0 and 1 swapped on the inputs.
Inputs over time (each step, S then R), starting unknown, we power up and drive:
step
S
R
action
Q
0
0
1
Reset
0
1
0
0
Hold
0
2
1
0
Set
1
3
0
0
Hold
1
4
0
1
Reset
0
Why step 1? After Reset, Q=0. With S=R=0, the Hold rule reproduces 0 → so Qstays 0 even though no input is active. That "sticking" is exactly the memory.
Why step 3? After Set, Q=1; Hold keeps it at 1. The latch remembered the Set that happened one step earlier — proof it stores a bit.
Recall Feynman: explain it to a 12-year-old
Imagine two kids holding a rope, each one leaning back to keep the other standing. That balance can lean left (call it 1) or right (call it 0), and once it's leaning it stays leaning by itself — that's remembering. The S button shoves it to lean left (1). The R button shoves it to lean right (0). If you press nothing, it keeps leaning the way it already was. If you push both buttons at once, both kids fall over and nobody knows who gets up first — that's the "forbidden" move you're not allowed to make.
An SR latch is built from which cross-coupled gates (two variants)?
Two cross-coupled NOR gates (active-HIGH) OR two cross-coupled NAND gates (active-LOW).
Why can a latch store a bit while a plain gate cannot?
The outputs feed back into the inputs (a loop), so a stable state re-asserts itself even after inputs are removed — combinational gates have no feedback.
NOR SR latch: what does S=0, R=0 do?
Hold — Q keeps its previous value (this is the memory state).
NOR SR latch: what does S=1, R=0 do?
Set — Q = 1.
NOR SR latch: what does S=0, R=1 do?
Reset — Q = 0.
NOR SR latch: why is S=1, R=1 forbidden?
Both Q and Q̄ become 0 (not complementary), and if both inputs drop to 0 together the final state is unpredictable/metastable.
State the characteristic equation of an SR latch.
Q_next = S + (R̄)·Q_prev, valid under the constraint S·R = 0.
For a NAND (active-LOW) SR latch, which input combination is Hold?
S̄=1, R̄=1 (both inputs HIGH) → Hold.
For a NAND SR latch, which combination is forbidden?
S̄=0, R̄=0 (both inputs LOW) → forces both outputs to 1, invalid.
In the NOR latch, what does a logic 1 on any NOR input do?
Forces that gate's output to 0 (NOR outputs 1 only when both inputs are 0).
What is metastability in an SR latch?
An unstable in-between state after leaving the forbidden condition, where the output settles unpredictably depending on gate delays.
Dekho, SR latch ka basic funda ye hai ki hum do gates (NOR ya NAND) ko aise cross-connect karte hain ki har gate ka output doosre gate ke input me jaata hai. Is feedback loop ki wajah se circuit apni state khud hold kar leta hai — matlab ek bit ki memory ban jaati hai. Normal gate to sirf present input pe depend karta hai (combinational), par yahan output khud input ban ke apni value ko baar-baar reinforce karta rehta hai. Isiliye ye smallest memory element hai.
NOR version me inputs active-HIGH hote hain: S=1 karo to Q=1 (Set), R=1 karo to Q=0 (Reset). Sabse important cheez — jab S=0 aur R=0, tab kuch nahi badalta, purani value hold rehti hai. Yahi memory wala magic hai. Ek common galti ye hoti hai ki log sochte hain "dono 0 matlab output 0" — nahi bhai, dono 0 matlab "do nothing", jo pehle tha wahi rahega.
Forbidden state (S=R=1) me dono outputs 0 ho jaate hain, jo galat hai kyunki Q aur Q opposite hone chahiye. Aur agar tum dono inputs ek saath 0 kar do, to gate delays ke hisaab se koi bhi state aa sakti hai — isko metastability kehte hain, bilkul unpredictable. Isiliye is combination ko avoid karna hai.
NAND version bas ulta hai: wahan inputs active-LOW hote hain, yaani 0 action karta hai. To NAND me S=R=1 Hold hai aur S=R=0 forbidden. Rule ratne se acha hai gate ka behaviour samajh lo: forbidden wahi hai jahan dono outputs equal ho jaate hain. Isse aage chal ke D latch aur JK flip-flop banenge jo is forbidden problem ko solve karte hain.