













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!














1854:1854: Logical algebraLogical algebra was publishedwas published by by George BooleGeorge Boole known today asknown today as “Boolean Algebra” “Boolean Algebra” It’s a convenient way and systematicIt’s a convenient way and systematic way of expressing and analyzing the way of expressing and analyzing the operation of logic circuits. operation of logic circuits. 1938:1938: Claude ShannonClaude Shannon was thewas the first to apply Boole’s work to the first to apply Boole’s work to the analysis and design of logic circuits. analysis and design of logic circuits.
Boolean addition is equivalent to the ORBoolean addition is equivalent to the OR operation operation AA sum termsum term is produced by an OR operationis produced by an OR operation with no AND ops involved. with no AND ops involved. (^) i.e.i.e. (^) AA sum termsum term is equal to 1 when one or more of theis equal to 1 when one or more of the literals in the term are 1. literals in the term are 1. (^) AA sum termsum term is equal to 0 only if each of the literals isis equal to 0 only if each of the literals is
Boolean multiplication is equivalent to theBoolean multiplication is equivalent to the AND operation AND operation AA product termproduct term is produced by an ANDis produced by an AND operation with no OR ops involved. operation with no OR ops involved. i.e.i.e. AA product termproduct term is equal to 1 only if each of theis equal to 1 only if each of the literals in the term is 1. literals in the term is 1. AA product termproduct term is equal to 0 when one or moreis equal to 0 when one or more of the literals are 0. of the literals are 0. 0 ∙0 = 0 AB , AB , ABC , ABC D 0 ∙ 1 = 0 1 ∙ 0 = 0 1 ∙1 = 1
TheThe commutative law of additioncommutative law of addition for two variables is written as: for two variables is written as: A+BA+B = B+A = B+A TheThe commutative law ofcommutative law of multiplication multiplication for two variables isfor two variables is written as: written as: AB = BAAB = BA A B A+B B A
A B AB B A
TheThe associative law of additionassociative law of addition for 3for 3 variables is written as: variables is written as: A+(B+C) =A+(B+C) = (A+B)+C (A+B)+C TheThe associative law of multiplicationassociative law of multiplication for 3 variables is written as: for 3 variables is written as: A(BC) =A(BC) = (AB)C (AB)C A B A+(B+C) C A B (A+B)+C C A B A(BC) C A B (AB)C C
B+C A+B BC AB
A B A C A BC A AB A B A AB A A A A A A A A 12 .( )( )
A, B, and C can represent a single variable or a combination of vari
DeMorgan’s theorems provideDeMorgan’s theorems provide mathematical verification of: mathematical verification of: the equivalency of the NAND andthe equivalency of the NAND and negative-OR gates negative-OR gates the equivalency of the NOR andthe equivalency of the NOR and negative-AND gates. negative-AND gates.
Apply DeMorgan’s theorems to theApply DeMorgan’s theorems to the expressions: expressions: W X Y Z X Y Z X Y Z X Y Z
Apply DeMorgan’s theorems to theApply DeMorgan’s theorems to the expressions: expressions: ( ) ( ) A BC D E F AB CD EF ABC DEF A B C D
Boolean Expression for a LogicBoolean Expression for a Logic Circuit Circuit To derive the Boolean expression forTo derive the Boolean expression for a given logic circuit, begin at the a given logic circuit, begin at the left-most inputs and work toward the left-most inputs and work toward the final output, writing the expression final output, writing the expression for each gate. for each gate. C D B A CD B+CD A(B+CD)
Once the Boolean expression for a givenOnce the Boolean expression for a given logic circuit has been determined, a logic circuit has been determined, a truth table that shows the output for all truth table that shows the output for all possible values of the input variables possible values of the input variables can be developed. can be developed. Let’s take the previous circuit as theLet’s take the previous circuit as the example: example: A(B+CD) A(B+CD) There are four variables, hence 16 (2There are four variables, hence 16 (2^4 4 )) combinations of values are possible. combinations of values are possible.
Evaluating the expression (cont’)Evaluating the expression (cont’) Now, determine whenNow, determine when B+CDB+CD term equalsterm equals
The termThe term B+CD=1B+CD=1 if eitherif either B=1B=1 oror CD=1CD= or if both or if both BB andand CDCD equal 1 becauseequal 1 because B+CD = 1+0 = 1 B+CD = 1+0 = 1 B+CD = 0+1 = 1 B+CD = 0+1 = 1 B+CD = 1+1 = 1 B+CD = 1+1 = 1 The termThe term CD=1CD=1 only ifonly if C=1C=1 andand D=1D=
Evaluating the expression (cont’)Evaluating the expression (cont’) Summary:Summary: A(B+CD)=1A(B+CD)= (^) WhenWhen A=1A=1 andand B=1B=1 regardless of the values ofregardless of the values of CC and and DD (^) When A=1When A=1 andand C=1C=1 andand D=1D=1 regardless of theregardless of the value of value of BB The expressionThe expression A(B+CD)=0A(B+CD)=0 for all other valuefor all other value combinations of the variables. combinations of the variables.