Boolean Function Dr. (Mrs.) Gargi Khanna Associate Professor Electronics & Communication Engineering Department National Institute of Technology, Hamirpur
Boolean function A Boolean function has: At least one Boolean variable, At least one Boolean operator, and At least one input from the set {0,1}. It produces an output that is also a member of the set {0,1}.
Truth Table Addition of 2 bits: A B Sum Carry 1 1 1 1 1 1 1 Sum Sum
Truth Table Subtraction of 2 bits: A B Difference Borrow 1 1 1 1 1 1 1 Difference A’ +B’)
Truth Table Addition of 3 bits: A B C Sum Carry 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Sum ABC Sum
Two-Level Implementations Boolean functions in either SOP or POS forms can be implemented using 2-Level implementations. For SOP forms AND gates will be in the first level and a single OR gate will be in the second level. For POS forms OR gates will be in the first level and a single AND gate will be in the second level. SOP forms can be implemented using only NAND gates, while POS forms can be implemented using only NOR gates.
Implement the following POS function F = (X+Z) (Y’+Z) (X’+Y+Z)
Standard SOP Write minterms of BC + A. Solution : BC + A Write terms XBC + A XX Add Xs where letters are missing A’BC , ABC Vary X s in XBC AB’C’, AB’C, ABC’, ABC Vary Xs in AXX Thus BC + A = A’ BC +ABC+ AB’C’ + AB’C + A B C’ + A B C or BC + A = A’BC + ABC + AB’C’ + AB’C + ABC’