INTERMEDIATE🔥 High-Yield Exam Topic 4 min read 3 views
Boolean Minimization, K-Maps, Multiplexers & Sequential Flip-Flop Counters
Universal NAND/NOR gate counts, Prime vs Essential Prime Implicants in 4-variable K-Maps, MUX universal logic realization, and JK/D/T Flip-Flop synchronous & ripple counters.
1. Universal Gate Counts & Consensus Theorem
The Consensus Theorem eliminates redundant terms without drawing a K-Map:
| Target Gate / Function | Min 2-Input NAND Gates | Min 2-Input NOR Gates |
|---|---|---|
| NOT () | 1 | 1 |
| AND () | 2 | 3 |
| OR () | 3 | 2 |
| XOR () | 4 | 5 |
| XNOR () | 5 | 4 |
| Half Adder | 5 | 5 |
| Full Adder | 9 | 9 |
2. K-Map Implicants & Combinational MUX Realization
- Prime Implicant (PI): Largest possible power-of-2 group () of 1s (and optional Don’t Cares
X) not contained inside any larger valid group. - Essential Prime Implicant (EPI): A PI covering at least one true minterm (
1, never a Don’t CareX) that no other PI covers. - Universal MUX: Any -variable Boolean function can be implemented using a single Multiplexer plus at most one inverter (and zero extra gates if both polarities of the -th variable are available!).
3. Flip-Flop Excitation Tables & Counters
| Flip-Flop | Characteristic Equation | Key Exam Behavior |
|---|---|---|
| SR | (with ) | is invalid/forbidden |
| JK | toggles; level-triggered suffers Race-Around when , cured by Master-Slave or edge triggering | |
| D | Transparent delay element; | |
| T | Frequency divider () when |
📐 Key Formula
Mod- Counter: Requires flip-flops and divides input clock frequency by (). Ring counter with FFs is Mod-; Johnson (Twisted Ring) counter with FFs is Mod-!
📐 Quick Revision Formula Sheet
Minimum 2-Input NAND / NOR Gate Table
💡 Formatted as NAND / NOR minimum gate count
Ripple Counter Maximum Clock Frequency
💡 For synchronous counter: T_clk >= t_pd(FF) + t_comb + t_setup
#Digital Logic#K-Map#Multiplexer#Flip-Flops#Counters#NAND Gates
🎯 Practice PYQs on This Topic (3)
Q1.GATE CS Digital LogicMCQEASY
+1 Marks • -0.33 NegWhat is the minimum number of 2-input NAND gates required to implement a 2-input XOR function without complemented inputs?
Q2.GATE CS Digital LogicMCQMEDIUM
+2 Marks • -0.67 NegA 4-bit Johnson (Twisted-Ring) Counter is driven by a clock signal. What is the output frequency at any flip-flop output ?
Q3.GATE CS Digital LogicMCQEASY
+2 Marks • -0.67 NegSimplify the Boolean expression to its minimal Sum-of-Products (SOP) form: