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 |
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-!
4. Interactive 4-Variable K-Map Grouping & Prime Implicant Minimizer
Interactive 4-Variable K-Map Grouping & Prime Implicants
5. Interactive Multiplexer Universal Logic Schematic
4×1 Multiplexer Universal Boolean Function Schematic
F(A,B,C) = Σm(3, 5, 6, 7) via 4×1 MUX:(A,B) routes active channel I2 directly to output Y = 1!6. Interactive 3-Bit Synchronous Counter & Clock Divider Timing Waveforms
3-Bit Synchronous Counter & Clock Divider Timing Waveforms
Practice Questions on This Chapter (5)
What is the minimum number of 2-input NAND gates required to implement a 2-input XOR function without complemented inputs?
A 4-bit Johnson (Twisted-Ring) Counter is driven by a clock signal. What is the output frequency at any flip-flop output ?
Simplify the Boolean expression to its minimal Sum-of-Products (SOP) form:
What is the minimum number of Flip-Flops required to build a synchronous MOD-20 counter?
How many Prime Implicants (PI) does the 4-variable Boolean function possess?