Professional Documents
Culture Documents
CircuitosMSI Floyd ch06
CircuitosMSI Floyd ch06
ELEVENTH EDITION
CHAPTER 6
Functions of
Combinational Logic
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
1 2
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
3 4
1
6/8/2023
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
5 6
FIGURE 6-4 Full-adder logic. FIGURE 6-5 Full-adder implemented with half-adders.
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
7 8
2
6/8/2023
FIGURE 6-6 FIGURE 6-7 Block diagram of a basic 2-bit parallel adder using two full-adders.
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
9 10
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
11 12
3
6/8/2023
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
13 14
FIGURE 6-11 Cascading of two 4-bit adders to form an 8-bit adder. FIGURE 6-12 Two 74HC283 adders connected as an 8-bit parallel adder (pin numbers are in parentheses).
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
15 16
4
6/8/2023
FIGURE 6-13 A voting system using full-adders and parallel binary adders. FIGURE 6-14 A 4-bit parallel ripple carry adder showing “worst-case” carry propagation delays.
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
17 18
FIGURE 6-15 Illustration of conditions for carry generation and carry propagation. FIGURE 6-16 Carry generation and carry propagation in terms of the input bits to a 4-bit adder.
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
19 20
5
6/8/2023
FIGURE 6-17 Logic diagram for a 4-stage look-ahead carry adder. FIGURE 6-18 Basic comparator operation.
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
21 22
FIGURE 6-19 Logic diagram for equality comparison of two 2-bit numbers. FIGURE 6-20
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
23 24
6
6/8/2023
FIGURE 6-21 Logic symbol for a 4-bit comparator with inequality indication. FIGURE 6-22
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
25 26
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
27 28
7
6/8/2023
FIGURE 6-25 An 8-bit magnitude comparator using two 74HC85s. FIGURE 6-26 Decoding logic for the binary code 1001 with an active-HIGH output.
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
29 30
FIGURE 6-27 Decoding logic for producing a HIGH output when 1011 is on the inputs.
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
31 32
8
6/8/2023
FIGURE 6-28 Logic symbol for a 4-line-to-16-line (1-of-16) decoder. FIGURE 6-29 The 74HC154 1-of-16 decoder.
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
33 34
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
35 36
9
6/8/2023
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
37 38
FIGURE 6-33 Logic symbol for a BCD-to-7-segment decoder/driver with active-LOW outputs. FIGURE 6-34 The 74HC47 BCD-to-7-segment decoder/driver.
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
39 40
10
6/8/2023
FIGURE 6-35 Examples of zero suppression using a BCD-to-7-segment decoder/driver. FIGURE 6-36 Logic symbol for a decimal-to-BCD encoder.
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
41 42
FIGURE 6-37 Basic logic diagram of a decimal-to-BCD encoder. A 0-digit input is not needed because the BCD
outputs are all LOW when there are no HIGH inputs.
TABLE 6–6
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
43 44
11
6/8/2023
FIGURE 6-38 The 74HC147 decimal-to-BCD encoder (HPRI means highest value input has priority. FIGURE 6-39 A simplified keyboard encoder.
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
45 46
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
47 48
12
6/8/2023
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
49 50
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
51 52
13
6/8/2023
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
53 54
FIGURE 6-46 The 74HC153 dual four-input data selector/multiplexer. FIGURE 6-47 The 74HC151 eight-input data selector/multiplexer.
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
55 56
14
6/8/2023
FIGURE 6-48 A 16-input multiplexer. FIGURE 6-49 Simplified 7-segment display multiplexing logic.
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
57 58
TABLE 6–9
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
59 60
15
6/8/2023
TABLE 6–10
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
61 62
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
63 64
16
6/8/2023
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
65 66
Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc. Digital Fundamentals, Eleventh Edition Copyright © 2015 by Pearson Education, Inc.
Thomas L. Floyd All Rights Reserved Thomas L. Floyd All Rights Reserved
67 68
17