Sum-of-Products (Functions to Circuits)
Context: FIT1047_MOC · truth table ➔ expression ➔ gate circuit, systematically · output feeds Karnaugh Maps for minimisation · gates from Transistors and Logic Gates
Quick Revision
- 🎯 Objective: read the rows where ➔ one AND-product per row (complement the 0-variables) ➔ OR the products together ➔ build the circuit gate-for-gate.
- ⚡ Key Constraint: SOP is correct but usually NOT minimal — simplification (Karnaugh Maps) comes after extraction.
📝 Core
- Truth table = the function ➔ a truth table uniquely defines a Boolean function; SOP answers “how do I get an expression back out?”
- Product (minterm) ➔ for each row with , AND all variables, overlining those that are in that row: row .
- Sum ➔ OR every product: the expression is TRUE exactly on the selected rows — by construction it reproduces the table.
- Circuit recipe ➔ one NOT per complemented input ➔ one AND gate per product ➔ one OR gate collecting all products; fully mechanical.
- Equivalence ➔ different-looking expressions from the same table are equivalent; verify via Boolean Algebra Laws or the table itself.
📊 Applied Exercise — lecture table
Rows where : .
Final Extracted Output: valid SOP; Karnaugh Maps reduces the same table to .
✍️ Practice
is exactly when the inputs differ (rows and ). Extract the SOP and name the function.
Answer
- — this is XOR (Exclusive-or).
- Circuit: two NOTs, two 2-input ANDs, one OR.
- Key move: complement exactly the variables that read in each selected row.
⚠️ Common Mistakes
- 💡 Products come only from 1-rows ➔ using 0-rows builds the complement (that’s the product-of-sums path instead).
- 💡 Complement the 0s, not the 1s ➔ the product must evaluate to 1 on its row; a bar on the wrong variable kills the row.