Module 2 Boolean Algebra
Module 2 Boolean Algebra
Chapter 12
© 2019 McGraw-Hill Education. All rights reserved. Authorized only for instructor use in the classroom. No reproduction or further distribution permitted without the prior written consent of McGraw-Hill Education.
Chapter Summary
Boolean Functions
Representing Boolean Functions
Logic Gates
Claude Shannon
Minimization of Circuits (not (1916 - 2001)
currently included in overheads)
Solution : 1 0 + ( 0 + 1) = 0 + 1
= 0+0
=0
© 2019 McGraw-Hill Education
Boolean Expressions and Boolean
Functions 1
1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
1 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0
0 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0
0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
© 2019 McGraw-Hill Education
Identities of Boolean Algebra 1
Sum-of-Products Expansions
Functional Completeness
F ( x, y , z ) = ( x + y ) z
= xz + y z distributive law
= x1z + 1y z identity law
( ) (
= x y + y z + x + x yz ) unit property
= xy z + x y z + xy z + xy z distributive law
= xy z + x y z + xy z idempotent law
Logic Gates
Combinations of Gates
Examples of Circuits
(b) x ( y + z )
(c) ( x + y + z ) ( x y z )
Logic circuits can be used to add two positive integers from their
binary expansions.
The first step is to build a half adder that adds two bits, but which
does not accept a carry from a previous addition.
Since the circuit has more than one output, it is a multiple output
circuit.
TABLE 3 Input and Output
for the Half Adder.
Input Output
x y s c
1 1 0 1
1 0 1 0
0 1 1 0
0 0 0 0
Jump to long description
© 2019 McGraw-Hill Education
Adders 2
Top image: There are three basic logic gates. The first gate is an
inverter, which has an input x and an output not x. The second gate
is an OR gate, which has two inputs x and y and one output x plus y.
The third gate is an AND gate, which has two inputs x and y and
one output xy.
Bottom image: There are two gates. The first gate is an AND gate
that has n inputs, x subscript 1, x subscript 2 and so on to x
subscript n, and one output, x subscript 1, x subscript 2 and so on, x
subscript n. The second gate is an OR gate that has n inputs, x
subscript 1, x subscript 2 and so on to x subscript n, and one
output, x subscript 1 plus x subscript 2 and so on plus x subscript n.
Circuit A. There is a logical circuit consisting of 1 inverter, 1 AND gate, and 1 OR gate.
There are 3 inputs, x, y and x. The first x together with y enters the OR gate, the output is
x plus y. The second x passes through the inverter resulting in not x. Together with the
output of the OR gate, it is considered as input for the AND gate. The output is left
parenthesis x plus y right parenthesis not x. Circuit B. The circuit consists of 3 inverters, 1
OR gate, and 1 AND gate. There are 3 inputs, x, y, and z. x passes through the inverter and
results in not x. z also passes through the second inverter and results in not z. Together
with y, not z enters the OR gate. The output is y plus not z. This output, in turn, enters the
third inverter, and results in not left parenthesis y plus not z right parenthesis. This output
together with not x is considered as the input for the AND gate. The output is not x, not
left parenthesis y plus not z right parenthesis. Circuit C. The circuit consists of 3 inverters,
2 AND gates, and 1 OR gate. There are 6 inputs, x, y, z, x, y, and z. The first set of x, y, and
z enters the OR gate and results in x plus y plus z. Each of the elements of the second x, y,
z set passes through the inverter, producing separately not x, not y, and not z. These 3
outputs are considered as the input for the first AND gate. The output is not x, not y, not
z. This output, together with the output of the OR gate, x plus y plus z, enters the second
AND gate. The output is left parenthesis x plus y plus z right parenthesis not x, not y, not
z.
Jump to the image
© 2019 McGraw-Hill Education
Adders 1 – Appendix
There is a logical circuit consisting of 1 Half adder and 2 Full adders. The
circuit has 6 inputs. x subscript 0 to x subscript 2, y subscript 0, and y
subscript 1. And it has 4 outputs. The first set of x subscript 0 and y
subscript 0 goes to the first Half adder, the first output of which is s
subscript 0 and it is the first output of the circuit. And the second output
of the first Half adder is c subscript 0, it is considered as an input for the
first Full adder. The second set of x subscript 1 and y subscript 1 goes to
the first Full adder, the first output of which is s subscript 1 and it is the
second output of the circuit. And the second output of the first Full adder
is c subscript i that is considered as an input for the second Full adder.
The third set of x subscript 2 and y subscript 2 goes to the second Full
adder. The outputs of the second Full adder are s subscript 2 and c
subscript 2 equals s subscript 3, that are the third and the fourth outputs
of the circuit.