3.6Designing logic circuits
Covers IGNOU MCS-212 §3.4 (Example 11, E15)
Now everything comes together. Given a description in words (“the light should change whenever any switch is flipped”), we can design a circuit on paper, check it, and simplify it before building anything. This is the everyday work of digital hardware designers.
The four-step design method
- Function: turn the description into a table of the Boolean function .
- Expression: write in DNF (few 1s) or CNF (few 0s).
- Simplify: use the laws of Boolean algebra; check the result against the table.
- Circuit: draw the circuit for the simplified expression.
Key takeaways
- Design method: table → DNF/CNF → simplify → check → circuit.
- A light controlled by switches (each flip toggles it) is the XOR of the switches: on when an odd number are on.
- XOR: .
- Always verify the final expression on every input before building the circuit.
Practice questions
Answer on paper first, then check. The explanation matters more than the letter you chose.
Question 6 · short answer
Design a circuit for a “majority voter”: three inputs , output 1 when at least two inputs are 1. Give the table rows with output 1, a DNF, and a simplified expression.
Show worked answer
Output 1 at , , , . DNF: . Simplify by using the minterm three times (idempotent law) and pairing it with each of the others: , and similarly we get and . So : three AND gates feeding one 3-input OR gate. Check : ; check : .