Chapter 8
Chapter 8
SLIDES FOR
CHAPTER 8
COMBINATIONAL CIRCUIT DESIGN
AND SIMULATION USING GATES
This chapter in the book includes:
Objectives
Study Guide
8.1 Review of Combinational Circuit Design
8.2 Design Circuits with Limited Gate Fan-In
8.3 Gate Delays and Timing Diagrams
8.4 Hazards in Combinational Logic
8.5 Simulation and Testing of Logic Circuits
Problems
Design Problems
1
10/3/2014
Example 1
Realize f(a, b, c, d) = Ʃ m(0, 3, 4, 5, 8, 9, 10, 14, 15) using three-
input NOR gates.
00 01 11 10 First we find a
minimum
00 sum-of-products
of f ′.
01
11
10
Then the
expression for f ′ f ′ = b′d(a′c′ + ac) + a′c(b + d′) + abc′
is factored to f = [b + d′ + (a + c)(a′ + c′)][a + c′ + b′d]
reduce the [a′ + b′ + c]
maximum number
of gate inputs to
three and, then it
is complemented.
Figure 8-1
©2010 Cengage Learning
2
10/3/2014
Example 2
Realize the functions given in Figure 8-2, using only two-input
NAND gates and inverters. If we minimize each function
separately, the result is f = b′c′ + ab′ + a′b
1
f2 = b′c′ + bc + a′b
f3 = a′b′c + ab + bc′
Figure 8-2
©2010 Cengage Learning
3
10/3/2014
Figure 8-3:
Realization of
Figure 8-2
4
10/3/2014
5
10/3/2014
6
10/3/2014
7
10/3/2014
8
10/3/2014
9
10/3/2014
10
10/3/2014
Figure 8-12
©2010 Cengage Learning
11
10/3/2014
• 0 1 X Z + 0 1 X Z
0 0 0 0 0 0 0 1 X X
1 0 1 X X 1 1 1 1 1
X 0 X X X X X 1 X X
Z 0 X X X Z X 1 X X
Table 8-1.
AND and OR Functions for Four-Valued Simulation
12
10/3/2014
Example
Suppose we build the following circuit in a simulator and
set A = B = C = D = 1, the output F should be 0, but as
seen in the diagram, it is 1.
How do we determine why the output is incorrect?
13
10/3/2014
14
10/3/2014
Seven-Segment Indicator
15