Professional Documents
Culture Documents
2
Perform operations
with
Boolean algebra
LEARNING OUTCOMES
After learning this is chapter, student
will be able to :
Draw the logic symbols for the logic gates.
Develop truth table of logic gates.
Write Boolean Expression for the logic
gates.
INTRODUCTION
Boolean functions are implemented in digital computer circuits
called gates.
A gate is an electronic device that produces a result based on
two or more input values.
– In reality, gates consist of one to six transistors, but digital
designers think of them as a single unit.
– Integrated circuits contain collections of gates suited to a
particular purpose. Vs – is ground = 0 Volts
Vd – high voltage – for all the
things we’re doing, this is
+5V, but there are many
possibilities.
Vg – gate voltage – depending on
this value, the electrons can
or can not flow from high to
low voltage.
Continue…..
Logic gates are the basic building blocks for forming digital
electronic circuitry. A logic gate has one output terminal and
one or more input terminals. Its output will be HIGH (1) or LOW
(0) depending on the digital level(s) at the input terminal(s).
Through the use of logic gates, we can design digital systems
that will evaluate digital input levels and produce a specific
output response based on that particular logic circuit design.
The five basic logic gates are the NOT (inverter), AND, OR,
NAND, AND NOR.
Voltage inverted from
input
Logic Gates
Voltage from
input This is the logic for a This is the logic for an
NAND gate. AND gate.
NOT
AND
• Symbol
OR • Truth table
NAND • Boolean
NOR Expression
EX-OR
EX-NOR
NOT gate (inverter)
Input A Output Z
0 1
1 0
BOOLEAN EXPRESSION
Z = A
AND gate
Y=A.B
TRUTH TABLE
0 1 0
1 0 0
1 1 1
BOOLEAN EXPRESSION
Z=A.B
OR gate
Z=A+B
TRUTH TABLE
0 1 1
1 0 1
1 1 1
BOOLEAN EXPRESSION
Z=A+B
NAND gate
0 1 1
1 0 1
1 1 0
BOOLEAN EXPRESSION
Z = XY
NOR gate
0 1 0
1 0 0
1 1 0
BOOLEAN EXPRESSION
Z=X+Y
EXTRA NOTES……
0 1 1
1 0 1
1 1 0
BOOLEAN EXPRESSION
Z=X+Y
Exclusive-NOR gate
0 1 0
1 0 0
1 1 1
BOOLEAN EXPRESSION
Q=A+B
Gates can have multiple inputs and more than one output.
– A second output can be provided for the complement of the
operation.
EXAMPLE
Combinational Logic Circuits
HALF ADDER
FULL ADDER
EXAMPLE
DECODER
EXAMPLE
MULTIPLEXER
Write output from diagram below :
Example 1
Z = _____
C
Example 2
Q
R
Z = _____
S
Draw the combinational logic circuit for
the Boolean expression below :
Example 1
S=(A+B).C
Example 2
Z=(P.Q)+(R.S)
EXERCISES
Write output from diagram below :
a)
Z = _____
C
D
b) J
L Y = _____
M
Draw the combinational logic circuit for
the Boolean expression below :
a) Z=(A.B)+(B.C)
b) Y= ( W + X ) . ( Y + Z )
“Thank You”