Digital Fundamentals: Floyd
Digital Fundamentals: Floyd
Fundamentals
Tenth Edition
Floyd
Chapter 1
Velocity of a car
100 travelling from A to B
95
90
85
80
75
70
Time of day
1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12
A .M . P.M .
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
05
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital Systems and Digital Values
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital Systems and Digital Values
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital Systems and Digital Values
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Advantages of Digital Techniques
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Advantages of Digital Techniques
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Binary Digits and Logic Levels
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Binary Digits and Logic Levels
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Binary Digits and Logic Levels
Logic Levels
Voltages used to represent a 1 and a 0 are called logic
levels.
Ideally, one voltage level represents a HIGH and another
voltage level represents a LOW.
In a practical digital circuit, however, a HIGH can be any voltage
between a specified minimum value and a specified maximum value.
Likewise, a LOW can be any voltage between a specified minimum
and a specified maximum.
There can be no overlap between the accepted range of HIGH levels
and the accepted range of LOW levels.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Binary Digits and Logic Levels
Logic Levels
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital Waveforms
LOW LOW
t0 t1 t0 t1
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital Waveforms
The Pulse
A digital waveform is made up of a series of pulses.
LOW LOW
t0 t1 t0 t1
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital Waveforms
The Pulse
The pulses in Figure are ideal because the rising and falling
edges are assumed to change in zero time (instantaneously).
In practice, these transitions never occur instantaneously,
although for most digital work you can assume ideal pulses.
HIGH HIGH
Rising or Falling or Falling or Rising or
leading edge trailing edge leading edge trailing edge
LOW LOW
t0 t1 t0 t1
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Pulse Definitions
Actual pulses are not ideal but are described by the rise time,
fall time, amplitude, and other characteristics.
Overshoot
Ringing
Droop
90%
Amplitude tW
50%
Pulse width
10%
Ringing
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital Waveforms
The Pulse
Rise Time : The time required for a pulse to go from its
LOW level to its HIGH level is called the rise time (tr),
Fall Time: Time required for the transition from the HIGH
level to the LOW level is called the fall time (tf).
In practice, it is common to measure rise time from 10% of the pulse
amplitude to 90% of the pulse amplitude and to measure the fall time
from 90% to 10% of the pulse amplitude.
Waveform Characteristics
Pulse Trains : Series of pulses. Can be classified as either
periodic or nonperiodic
A periodic pulse waveform is one that repeats itself at a
fixed interval, called a period (T).
The frequency (f) is the rate at which it repeats itself and is
measured in hertz (Hz).
A nonperiodic pulse waveform, of course, does not repeat
itself at fixed intervals and may be composed of pulses of
randomly differing pulse widths and/or randomly differing
time intervals between the pulses
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital Waveforms
Waveform Characteristics
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital Waveforms
Waveform Characteristics
The frequency (f) of a pulse
(digital) waveform is the
reciprocal of the period.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Pulse Definitions
Pulse
width
Amplitude (A) (tW)
Time
Period, T
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Periodic Pulse Waveforms
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Pulse Definitions
Pulse
width
Amplitude (A) (tW)
Time
Period, T
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Data Transfer
Example:
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Data Transfer
Solution:
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
A digital Waveform carries Binary Information
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
A digital Waveform carries Binary Information
The Clock
In digital systems, all waveforms are synchronized with a
basic timing waveform called the dock.
The clock is a periodic waveform in which each interval
between pulses (the period) equals the time for one bit.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
A digital Waveform carries Binary Information
The Clock
In this case, each change in level of waveform A occurs at
the leading edge of the clock waveform.
In other cases, level changes occur at the trailing edge of the
clock.
During each bit time of the clock, waveform A is either
HIGH or LOW.
These HIGHs and LOWs represent a sequence of bits as
indicated.
The clock waveform itself does not carry information.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Timing Diagrams
By timing diagram, you can determine the states (HIGH or LOW) of all
the waveforms at any specified point in time and the exact time that a
waveform changes state relative to the other waveforms.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Timing Diagrams
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Data Transfer
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Data Transfer
1 0 1 1 0 0 1 0
t0 t1 t2 t3 t4 t5 t6 t7
Computer Modem
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Data Transfer
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Data Transfer
0
t0 t1
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Data Transfer
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Data Transfer
Example:
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Data Transfer
Solution:
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Basic Logic Operations
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Basic Logic Operations
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Basic Logic Operations
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Basic Logic Operations
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Basic System Functions
And, or, and not elements can be combined to form
various logic functions. A few examples are:
Two
binary A= B Outputs
numbers
B
A< B
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Basic System Functions
HIGH
9 Encoder
8
7
6 Binary code
5 for 9 used for
Binary input
7-segment display
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Basic System Functions
Switching Switching
sequence sequence
control input control input
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Basic System Functions
Counter Parallel
output lines Binary Binary Binary Binary Binary
code code code code code
1 2 3 4 5 for 1 for 2 for 3 for 4 for 5
Input pulses Sequence of binary codes that represent
the number of input pulses counted.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Basic System Functions
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Integrated Circuits
Pins
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Integrated Circuits
DIP chips
In this case, testing can
be done by a computer
connected to the system.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Integrated Circuits
Pin 1
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Integrated Circuits
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Test and Measurement Instruments
The front panel controls for a general-purpose oscilloscope
is shown.
V E R TIC A L H O R IZ O N TA L T R IG G E R
C H 1 C H 2 B O TH S LO P E
Ð +
V O L TS / D IV V O L TS / D IV S E C / D IV SO URC E
C H 1
C H 2
EX T
5 V 2 m V 5 V 2 m V 5 s 5 ns
L IN E
C O U P L IN G C O U P L IN G
A C -D C -G N D A C -D C -G N D T R IG C O U P
DC AC
D IS P L A Y
PRO BE C O M P C H 1 C H 2 E X T TR IG
5 V
IN T E N S IT Y
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Test and Measurement Instruments
The logic analyzer can display multiple channels of digital
information or show data in tabular form.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Test and Measurement Instruments 0.01 V
O FF V
Hz
electrical measurements.
A Ra n g e
A u t o ra n g e 1 s
To u c h / H o ld 1 s
10 A
V
Voltage
40 m A C O M
Fu se d
Resistance
Current
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
Programmable Logic
Fixed OR
Programmable array and
AND array
output logic
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Selected Key Terms
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Selected Key Terms
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved