Beruflich Dokumente
Kultur Dokumente
Digital Fundamentals Most natural quantities that we see are analog and vary continuously.
Analog systems can generally handle higher power than digital systems.
ELEVENTH EDITION
CHAPTER 1
Introductory
Concepts
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
FIGURE 1-2 Sampled-value representation (quantization) of the analog quantity in Figure 1–1. Each value
FIGURE 1-4 Basic block diagram of a CD player. Only one channel is shown.
represented by a dot can be digitized by representing it as a digital code that consists of a series of 1s and 0s.
Digital systems can process, store, and transmit data more efficiently but
can only assign discrete values to each point.
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
Digital electronics uses circuits that
have two states, which are • Digital waveforms change between the LOW and HIGH levels.
represented by two different voltage • A positive going pulse is one that goes from a normally LOW
levels called HIGH and LOW. The logic level to a HIGH level and then back again.
voltages represent numbers in the
binary system. • Digital waveforms are made up of a series of pulses.
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
Actual pulses are not ideal but are described by the rise time, fall
FIGURE 1-9 Examples of digital waveforms.
time, amplitude, and other characteristics.
Pulse
width
Amplitude (A)
(tW)
Time
FIGURE 1-8 Nonideal pulse characteristics. Period, T
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
Periodic pulse waveforms are composed of pulses that repeats
in a fixed interval called the period. The frequency is the rate Digital Fundamentals
it repeats and is measured in hertz.
ELEVENTH EDITION
1 1
f = T=
T f
CHAPTER 3
The clock is a basic timing signal that is an example of a periodic
wave.
Logic Gates
What is the period of a repetitive wave if f = 3.2 GHz?
1 1
T= = = 313 ns
f 3.2 GHz
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
Input Output
A X
LOW (0) HIGH (1)
HIGH (1) LOW(0)
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
The Inverter The AND gate
A X
FIGURE 3-8 Standard logic symbols for the AND gate showing two inputs (ANSI/IEEE Std. 91-1984/Std. 91a-
1991).
Example waveforms:
A
X
0 1 1 1 0 0 1 0
1’s complement
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
The AND gate produces a HIGH output when all inputs are
HIGH; otherwise, the output is LOW. For a 2-input gate,
the truth table is
Inputs Output
A B X
0 0 0
0 1 0
1 0 0
1 1 1
A
B
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
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
The OR gate A X The OR gate
B
Example waveforms:
A
B
ASCII letters have a 1 in the bit 5 position for lower case letters and a
0 in this position for capitals. (Bit positions are numbered from right to
left starting with 0.) What will be the result if you OR an ASCII letter with
the 8-bit mask 00100000?
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
The NAND gate produces a LOW output when all inputs are
HIGH; otherwise, the output is HIGH. For a 2-input gate, the
FIGURE 3-24 Boolean expressions for OR gates with two, three, and four inputs. truth table is
Inputs Output
A B X
0 0 1
0 1 1
1 0 1
1 1 0
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
The NAND gate A The NAND gate
B
Example waveforms: The output waveform X is LOW only when all three input waveforms are
HIGH as shown in the timing diagram.
A
B
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
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
The NOR gate De Morgan’s Theorem
FIGURE 3-38 Standard symbols representing the two equivalent operations of a NOR gate.
FIGURE 3-37
FIGURE 3-30 ANSI/IEEE standard symbols representing the two equivalent operations of a NAND gate.
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
Example waveforms:
The XOR gate produces a HIGH output only when both
inputs are at opposite logic levels. The truth table is A
Inputs Output B
A B X
X
0 0 0
0 1 1
1 0 1 Notice that the XOR gate will produce a HIGH only when exactly one
1 1 0 input is HIGH.
If the A and B waveforms are both inverted for the above waveforms,
The XOR operation is written as X = AB + AB. how is the output affected?
Alternatively, it can be written with a circled plus sign
between the variables as X = A + B. There is no change in the 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
The XNOR Gate
FIGURE 3-48
A X A =1 X
B B
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
FIGURE 3-75
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
Transformações entre Transformações entre
Representações Lógicas Representações Lógicas
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
[John_R._Gregg]_Ones_and_Zeros_Understanding_Bool(BookZZ.org) [John_R._Gregg]_Ones_and_Zeros_Understanding_Bool(BookZZ.org)
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
Examine the conditions indicated in Figure 3–92, and identify the faulty gates.
Simplificação Lógica
• Lógica simplificada == hardware mais eficiente
§ Menor área de hardware
§ Menor o atraso da lógica
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