Presentation on theme: "CSIS 3510 Computer Organization and Architecture Topics covered in this lecture: –Review of De’Morgan’s Theorem –Using De’Morgan’s Theorem –Building a."— Presentation transcript:
CSIS 3510 Computer Organization and Architecture Topics covered in this lecture: –Review of De’Morgan’s Theorem –Using De’Morgan’s Theorem –Building a 2-bit decoder –Algebraic Reduction of Boolean Expressions –7-segment decoder
De’Morgan’s Theorem On of the most useful principles in boolean algebra is De’Morgan’s Theorem, which allows one to switch between ANDs and NORs and ORs and NANDs. Remember, we want to design circuits using AND and OR, but then implement them using NAND and NOR (AND transistor bleed- through problem, and manufacturing layering minimization) NOT terms or Inverted terms are represented with a line over the terms AB = A + B A + B = AB We demonstrated the validity of DeMorgan’s by Perfect Induction, using a truth table.
Using De’Morgan’s Theorem To convert A+B into a form that can be implemented using a NAND gate follow these steps: 1. Double Complement the term A+B = A+B 2. Use DeMorgan’s to distribute one of the complements A+B = A B The equation is now a NAND of the complemented inputs. To convert AB into a form that can be implemented using a NOR gate follow these steps: 1. Double Complement the term AB = AB 2. Use DeMorgan’s to distribute one of the complements AB = A + B The equation is now a NOR of the complemented inputs.
Extracting a function from a truth table and converting ABOutput 000 011 100Out = A B 110DoubleC A B DeM A + B Simplify A + B
Two-Bit Decoder ABF0F1F2F3001000010100100010110001ABF0F1F2F3001000010100100010110001 F 0 = A B = A B = A+B = A+B F 1 = A B = A B = A+B = A+B F 2 = A B = A B = A+B = A+B F 3 = A B = A B = A+B
Algebraic Reduction of Boolean Functions Algebraic reduction is used to minimize a function extracted from a truth table or other source. Principle is to look for terms where a single variable is present in both complemented and positive form. Those variables can be deleted from those terms. Note: terms can be used over in multiple minimizations. Examples A B + A B = B,A B + A B = A A B C + A B C = A B A B C + A B C + A B C + A B C A B A B A
Your consent to our cookies if you continue to use this website.