Do you know?
[BOTH] Flip-flops, counters, shift registers - part 1
- Fact 1 of 12馃
SR flip-flop: the basic memory cell
SR flip-flop has Set and Reset inputs. Set makes Q = 1; Reset makes Q = 0. It remembers the last command, like a bus-stop light staying on. Recall: what does Set make Q? (Answer: Q = 1)
- Fact 2 of 12馃毇
SR flip-flop's forbidden input
S = R = 1 is forbidden, so Q becomes unpredictable. Both commands clash, like pressing both pedals of a scooter at once. Recall: which input pair is forbidden? (Answer: S = R = 1)
- Fact 3 of 12馃攣
JK flip-flop removes the forbidden state
JK flip-flop has no forbidden state. J = K = 1 makes Q toggle on each clock pulse, like a pump switch flipped on every press. Recall: what does J = K = 1 do? (Answer: toggles)
- Fact 4 of 12馃搵
D flip-flop copies D on clock edge
D flip-flop copies its D input to Q at each clock edge. It stores one bit and is used in registers, like a KSEB meter reading saved each billing cycle. Recall: how many bits does D store? (Answer: one)
- Fact 5 of 12馃攧
T flip-flop: toggle on each clock
T flip-flop toggles Q when T = 1 at the clock edge, and holds when T = 0. It is made by tying J and K of a JK flip-flop together. Recall: what does T = 1 do? (Answer: toggles)
- Fact 6 of 12馃弫
Race-around condition: the JK problem
In a JK flip-flop with J = K = 1, Q keeps toggling while the clock stays high. The output races around and ends unpredictable. Recall: which input pair causes race-around? (Answer: J = K = 1)
- Fact 7 of 12馃敆
Master-slave JK cures race-around
A master-slave JK flip-flop uses two latches in series. The master takes input when clock is high; the slave passes output when clock goes low. Recall: which latch gives the final output? (Answer: slave)
- Fact 8 of 12馃幆
Master-slave: one change per cycle
Master-slave output changes only once per full clock cycle, not repeatedly. This prevents race-around errors in JK circuits. Recall: how often does master-slave output change per cycle? (Answer: once)
- Fact 9 of 12馃寠
Asynchronous counter: ripple counter
In an asynchronous counter, each flip-flop's clock comes from the previous stage. Delays add up, so it is slower at high counts. Recall: what is another name for asynchronous counter? (Answer: ripple counter)
- Fact 10 of 12馃
Synchronous counter: one common clock
All flip-flops in a synchronous counter share one clock. There is no ripple delay, so it is faster. Recall: which counter has one common clock? (Answer: synchronous)
- Fact 11 of 12馃敘
Counter states: 2 to the power n
n flip-flops give 2 to the power n distinct states. Example: 3 flip-flops give 8 states, counting 0 to 7. Recall: how many states do 4 flip-flops give? (Answer: 16)
- Fact 12 of 12馃М
Mod-10 counter needs 4 flip-flops
A mod-10 decade counter needs 4 flip-flops: 3 gives only 8 states, while 4 gives 16. It counts digits 0 to 9, like a digital meter display. Recall: flip-flops needed for mod-10? (Answer: 4)
