Professional Documents
Culture Documents
and Architecture
Course Code: ITEC 2021
1
CHAPTER ONE
DIGITAL LOGIC CIRCUITS
LESSON OBJECTIVES:
3
Logic Gates:
4
• Gates are blocks of hardware that produce signals of binary 1
or 0 when input requirements are satisfied
• There are a variety of logic gates with distinct graphic symbol
and truth tables
5
Cont…
6
Cont…
7
• Exercise: Draw logic circuits for the following algebraic
expressions:
a. X+Y’Z
b. AB’+C’D
c. AB + A’B’ + A’BC
8
Boolean Algebra
9
Purpose of Boolean algebra:
10
Rules of Boolean algebra:
11
Cont…
• Two and three variable properties:
Commutative Absorption
10a. x · y = y · x 13a. x + x · y = x
10b. x + y = y + x 13b. x · (x + y) = x
14a. x · y + x · y' = x
Associative 14b. (x + y) · (x + y') = x
11a. x · (y · z) = (x · y) · z
11b. x + (y + z) = (x + y) + z DeMorgans Theorem
15a. (x · y)' = x' + y'
Distributive 15b. (x + y)' = x' · y'
12a. x · (y + z) = x · y + x · z 16a. x + x' · y = x + y
12b. x + y · z = (x + y) · (x + z) 16b. x · (x' + y) = x + y
12
Exercise:
1. Show (x + y) · (x + y') = x
2. Simplify (A + A’)(AB + ABC)
3. Simplify the following boolean function and draw its logic
circuit.
F= x’·y’ + x’·y + x·y’
4. Simplify the following boolean function and draw its logic
circuit.
F = yz + xyz’ + xyz + xy’z’ + xy’z
5. Simplify and draw its logic circuit for AB + (AB )’C + A=
6. Simplify A + B[AC + (B + C’)D]=
13
Map Simplification
• In addition to using Boolean algebra to simplify a Boolean
function, a technique called map simplification can also be
utilized
• The map method is known as the Karnaugh map or K-map
• Each combination of the variables in a truth table is called a
minterm
• There are 2n minterms for a function of n variables
• A square is considered adjacent to another square if it is next to,
above, or below it
• In addition, squares at the extreme ends of the same horizontal
row are also considered adjacent
• The same applies to the top and bottom squares of a column
14
• Maps for two, three and four variable function
15
Cont…
Sum-of-Products Simplification
16
• Example: Simplify the following function in truth table using
SOP
X Y Z F
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 0
17
Example 1:
1. F (ABC) =∑ (3, 4, 6, 7)
F=BC+AC’
2. F (A B C) = Σ (0, 2, 4, 5, 6)
F=C’+AB’
18
Cont…
Product-of-Sum Simplification
• The 1’s in the Map represent minterms that produce 1 for the
function
• The squares not marked by 1represent minterms that produce a
0 for the function
• If we mark empty squares with a 0’s and combine them we can
get F’
• Taking the complement of F produces an expression in the
form of Product-of -sum
19
Don't Care Conditions
20
Cont…
21
Cont…
F=A’ + BC’
22
Combinational circuits:
• A connected arrangement of logic gates (AND, OR, NOT, NAND etc.)
with a set of inputs and outputs
• At any given time, the binary values of the outputs are a function of the
binary values of the inputs
• The design of a combinational circuit starts from a verbal outline of the
problem and ends in a logic circuit diagram
25
Cont…
S= X ⊕Y ⊕Z
C= XY +(X ⊕Y)Z
Q. Show that X’Y’Z+X’YZ’+XY’Z’+XYZ is X ⊕Y ⊕Z
26
Flip Flop
1. SR Flip-Flop
2. D Flip-Flop
3. JK Flip-Flop
4. T Flip-Flop
28
Sequential Circuits
29
End of Chapter 1
30