SlideShare a Scribd company logo
1 of 19
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
Digital
Fundamentals
Tenth Edition
Floyd
ยฉ 2008 Pearson Education
Chapter 1
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
Most natural quantities that we see are analog and vary
continuously. Analog systems can generally handle higher
power than digital systems.
SummarySummary
Digital systems can process, store, and transmit data more
efficiently but can only assign discrete values to each point.
Analog Quantities
1
100
A .M.
95
90
85
80
75
2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12
P.M.
Temperature
(ยฐF)
70
Time of day
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
Many systems use a mix of analog and digital electronics to
take advantage of each technology. A typical CD player
accepts digital data from the CD drive and converts it to an
analog signal for amplification.
SummarySummary
Analog and Digital Systems
Digital data
CD drive
10110011101
Analog
reproduction
of music audio
signal
Speaker
Sound
waves
Digital-to-analog
converter
Linear amplifier
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
SummarySummary
Digital Computer
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
SummarySummary
Hierarchy of Digital Systems
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
Digital electronics uses circuits that have two states HIGH
and LOW, which are represented by two different voltage
levels called Logic Levels. The voltages represent numbers
in the binary system.
SummarySummary
Binary Digits and Logic Levels
In binary, a single number is
called a bit (for binary digit).
A bit can have the value of
either 0 or 1, depending on if
the voltage is HIGH or LOW.
HIGH
LOW
VH(max)
VH(min)
VL(max)
VL(min)
Invalid
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
Digital waveforms consist of voltage levels that are changing
back and forth between HIGH and LOW levels or states.
A positive going pulse is one that goes from a normally
LOW logic level to a HIGH level and then back again.
Digital waveforms are made up of a series of pulses.
SummarySummary
Digital Waveforms
Falling or
leading edge
(b) Negativeโ€“going pulse
HIGH
Rising or
trailing edge
LOW
(a) Positiveโ€“going pulse
HIGH
Rising or
leading edge
Falling or
trailing edge
LOW
t0
t1
t0
t1
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
Actual pulses are not ideal but are described by the rise time,
fall time, amplitude, and other characteristics.
SummarySummary
Pulse Definitions
90%
50%
10%
Baseline
Pulsewidth
Rise time Fall time
Amplitude tW
tr tf
Undershoot
Ringing
Overshoot
Ringing
Droop
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
Periodic pulse waveforms are composed of pulses that repeats
in a fixed interval called the period. The frequency is the rate
it repeats and is measured in hertz.
SummarySummary
Periodic Pulse Waveforms
T
f
1
=
f
T
1
=
The clock is a basic timing signal that is an example of a
periodic wave.
What is the period of a repetitive wave if f = 3.2 GHz?
===
GHz2.3
11
f
T 313 ps
Waveforms are classified as Periodic & Non-Periodic
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
SummarySummary
Pulse Definitions
In addition to frequency and period, repetitive pulse waveforms
are described by the amplitude (A), pulse width (tW) and duty
cycle. Duty cycle is the ratio of tW to T.
Duty Cycle = (tw / T) 100%
Volts
Time
Amplitude (A)
Pulse
width
(tW)
Period, T
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
A timing diagram is used to show the relationship between
two or more digital waveforms,
SummarySummary
Timing Diagrams
Clock
A
B
C
A diagram like this can be observed
directly on a logic analyzer.
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
Data can be transmitted by either serial transfer e.g USB or
parallel transfer e.g Data Bus in a computer.
SummarySummary
Serial and Parallel Data
Computer Modem
1 0 1 1 0 0 1 0
t0 t1 t2 t3 t4 t5 t6 t7
Computer Printer
0
t0 t1
1
0
0
1
1
0
1
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
SummarySummary
Basic Logic Functions
True only if all input conditions
are true.
True only if one or more input
conditions are true.
Indicates the opposite condition.
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
SummarySummary
Basic System Functions
And, or, and not elements can be combined to form
various logic functions. A few examples are:
The comparison function
Basic arithmetic functions Adder
Two
binary
numbers Carry out
A
B
Cout
CinCarry in
Sumฮฃ
Two
binary
numbers
Outputs
A
B
A< B
A= B
A> B
Comparator
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
SummarySummary
Basic System Functions
The encoding function
The decoding function
Decoder
Binary input
7-segment display
Encoder9
8 9
4 5 6
1 2 3
0 . +/โ€“
7
Calculator keypad
8
7
6
5
4
3
2
1
0
HIGH
Binary code
for 9 used for
storage and/or
computation
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
SummarySummary
Basic System Functions
The data selection function
Multiplexer
A
Switching
sequence
control input
B
C
โˆ†t2
โˆ†t3
โˆ†t1
โˆ†t2
โˆ†t3
โˆ†t1
Demultiplexer
D
E
F
Data from
Ato D
Data from
Bto E
Data from
Cto F
Data from
Ato D
โˆ†t1 โˆ†t2 โˆ†t3 โˆ†t1
Switching
sequence
control input
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
SummarySummary
Basic System Functions
The counting function
โ€ฆand other functions such as code conversion
and storage.
Input pulses
1
Counter Parallel
output lines Binary
code
for 1
Binary
code
for 2
Binary
code
for 3
Binary
code
for 4
Binary
code
for 5
Sequence of binary codes that represent
the number of input pulses counted.
2 3 4 5
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
SummarySummary
Basic System Functions
One type of storage function is the shift register,
that moves and stores data each time it is clocked.
0 0 0 00101
Initially, theregister contains onlyinvalid
data or all zeros as shown here.
1 0 0 0010
First bit (1) is shifted serially into the
register.
0 1 0 001
Second bit (0) is shifted serially into
register and first bit is shifted right.
1 0 1 00
Third bit (1) is shifted into register and
the first and second bits are shifted right.
0 1 0 1
Fourth bit (0) is shifted into register and
the first,second,and third bits areshifted
right.The register now stores all four bits
and is full.
Serial bits
on input line
ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th
ed
SummarySummary
Integrated Circuits
Plastic
case
Pins
Chip
Cutaway view of DIP (Dual-In-line Pins) chip:
The TTL series, available as DIPs are popular
for laboratory experiments with logic.

More Related Content

What's hot

Verilog ่ชžๆณ•ๆ•™ๅญธ
Verilog ่ชžๆณ•ๆ•™ๅญธ Verilog ่ชžๆณ•ๆ•™ๅญธ
Verilog ่ชžๆณ•ๆ•™ๅญธ
่‰พ้—็ง‘ๆŠ€
ย 

What's hot (20)

PPT ON VHDL subprogram,package,alias,use,generate and concurrent statments an...
PPT ON VHDL subprogram,package,alias,use,generate and concurrent statments an...PPT ON VHDL subprogram,package,alias,use,generate and concurrent statments an...
PPT ON VHDL subprogram,package,alias,use,generate and concurrent statments an...
ย 
VHDL- gate level modelling
VHDL- gate level modellingVHDL- gate level modelling
VHDL- gate level modelling
ย 
Asynchronous sequential circuit analysis
Asynchronous sequential circuit analysisAsynchronous sequential circuit analysis
Asynchronous sequential circuit analysis
ย 
Design and implementation of 32 bit alu using verilog
Design and implementation of 32 bit alu using verilogDesign and implementation of 32 bit alu using verilog
Design and implementation of 32 bit alu using verilog
ย 
latches
 latches latches
latches
ย 
DIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic GatesDIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic Gates
ย 
VLSI Final Design Project
VLSI Final Design ProjectVLSI Final Design Project
VLSI Final Design Project
ย 
Arduino Workshop
Arduino WorkshopArduino Workshop
Arduino Workshop
ย 
Functions assignment
Functions assignmentFunctions assignment
Functions assignment
ย 
Not gate
Not gateNot gate
Not gate
ย 
Lab 4 Three-Bit Binary Adder
Lab 4 Three-Bit Binary AdderLab 4 Three-Bit Binary Adder
Lab 4 Three-Bit Binary Adder
ย 
Half adder & full adder
Half adder & full adderHalf adder & full adder
Half adder & full adder
ย 
Lab 2-Simple Combinational Logic
Lab 2-Simple Combinational LogicLab 2-Simple Combinational Logic
Lab 2-Simple Combinational Logic
ย 
Verilog ่ชžๆณ•ๆ•™ๅญธ
Verilog ่ชžๆณ•ๆ•™ๅญธ Verilog ่ชžๆณ•ๆ•™ๅญธ
Verilog ่ชžๆณ•ๆ•™ๅญธ
ย 
gate level modeling
gate level modelinggate level modeling
gate level modeling
ย 
All About Decoders DLD.
All About Decoders DLD.All About Decoders DLD.
All About Decoders DLD.
ย 
C Programming Project
C Programming ProjectC Programming Project
C Programming Project
ย 
Verilog tutorial
Verilog tutorialVerilog tutorial
Verilog tutorial
ย 
Graph in data structure
Graph in data structureGraph in data structure
Graph in data structure
ย 
Verilog HDL CODES
Verilog HDL CODES Verilog HDL CODES
Verilog HDL CODES
ย 

Similar to Chapter 1 floyd

Similar to Chapter 1 floyd (20)

Lecture 01 of DLD
Lecture 01 of DLDLecture 01 of DLD
Lecture 01 of DLD
ย 
Digital Fundamentals Chapter 1 Slide.ppt
Digital Fundamentals Chapter 1 Slide.pptDigital Fundamentals Chapter 1 Slide.ppt
Digital Fundamentals Chapter 1 Slide.ppt
ย 
Week 1 Lecture.ppt
Week 1 Lecture.pptWeek 1 Lecture.ppt
Week 1 Lecture.ppt
ย 
Week 1 Lecture.ppt
Week 1 Lecture.pptWeek 1 Lecture.ppt
Week 1 Lecture.ppt
ย 
Digital Logic Design
Digital Logic Design Digital Logic Design
Digital Logic Design
ย 
Digital Logic Design
Digital Logic Design Digital Logic Design
Digital Logic Design
ย 
fundamentos laboratorio
fundamentos laboratorio fundamentos laboratorio
fundamentos laboratorio
ย 
H5243740
H5243740H5243740
H5243740
ย 
Chapter 1.pptx
Chapter 1.pptxChapter 1.pptx
Chapter 1.pptx
ย 
Sonet
SonetSonet
Sonet
ย 
13 linear digital i cs
13 linear digital i cs13 linear digital i cs
13 linear digital i cs
ย 
Lec1 - Analog and Digital systems
Lec1 - Analog and Digital systemsLec1 - Analog and Digital systems
Lec1 - Analog and Digital systems
ย 
Digital Logic Design
Digital Logic Design Digital Logic Design
Digital Logic Design
ย 
Chapter07
Chapter07Chapter07
Chapter07
ย 
Sonet
Sonet Sonet
Sonet
ย 
Plc analog Tutorial
Plc analog TutorialPlc analog Tutorial
Plc analog Tutorial
ย 
Digital Data Transmission.ppt
Digital Data Transmission.pptDigital Data Transmission.ppt
Digital Data Transmission.ppt
ย 
Ch 14
Ch 14Ch 14
Ch 14
ย 
Chapter7
Chapter7Chapter7
Chapter7
ย 
Data acquisition system
Data acquisition systemData acquisition system
Data acquisition system
ย 

Recently uploaded

VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
SUHANI PANDEY
ย 
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
ย 
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
sivaprakash250
ย 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
ย 

Recently uploaded (20)

VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
ย 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
ย 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
ย 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
ย 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
ย 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
ย 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
ย 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
ย 
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
ย 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
ย 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
ย 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
ย 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
ย 
Top Rated Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
ย 
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
ย 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
ย 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
ย 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
ย 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
ย 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
ย 

Chapter 1 floyd

  • 1. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Digital Fundamentals Tenth Edition Floyd ยฉ 2008 Pearson Education Chapter 1
  • 2. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Most natural quantities that we see are analog and vary continuously. Analog systems can generally handle higher power than digital systems. SummarySummary Digital systems can process, store, and transmit data more efficiently but can only assign discrete values to each point. Analog Quantities 1 100 A .M. 95 90 85 80 75 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 P.M. Temperature (ยฐF) 70 Time of day
  • 3. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Many systems use a mix of analog and digital electronics to take advantage of each technology. A typical CD player accepts digital data from the CD drive and converts it to an analog signal for amplification. SummarySummary Analog and Digital Systems Digital data CD drive 10110011101 Analog reproduction of music audio signal Speaker Sound waves Digital-to-analog converter Linear amplifier
  • 4. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed SummarySummary Digital Computer
  • 5. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed SummarySummary Hierarchy of Digital Systems
  • 6. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Digital electronics uses circuits that have two states HIGH and LOW, which are represented by two different voltage levels called Logic Levels. The voltages represent numbers in the binary system. SummarySummary Binary Digits and Logic Levels In binary, a single number is called a bit (for binary digit). A bit can have the value of either 0 or 1, depending on if the voltage is HIGH or LOW. HIGH LOW VH(max) VH(min) VL(max) VL(min) Invalid
  • 7. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Digital waveforms consist of voltage levels that are changing back and forth between HIGH and LOW levels or states. A positive going pulse is one that goes from a normally LOW logic level to a HIGH level and then back again. Digital waveforms are made up of a series of pulses. SummarySummary Digital Waveforms Falling or leading edge (b) Negativeโ€“going pulse HIGH Rising or trailing edge LOW (a) Positiveโ€“going pulse HIGH Rising or leading edge Falling or trailing edge LOW t0 t1 t0 t1
  • 8. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Actual pulses are not ideal but are described by the rise time, fall time, amplitude, and other characteristics. SummarySummary Pulse Definitions 90% 50% 10% Baseline Pulsewidth Rise time Fall time Amplitude tW tr tf Undershoot Ringing Overshoot Ringing Droop
  • 9. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Periodic pulse waveforms are composed of pulses that repeats in a fixed interval called the period. The frequency is the rate it repeats and is measured in hertz. SummarySummary Periodic Pulse Waveforms T f 1 = f T 1 = The clock is a basic timing signal that is an example of a periodic wave. What is the period of a repetitive wave if f = 3.2 GHz? === GHz2.3 11 f T 313 ps Waveforms are classified as Periodic & Non-Periodic
  • 10. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed SummarySummary Pulse Definitions In addition to frequency and period, repetitive pulse waveforms are described by the amplitude (A), pulse width (tW) and duty cycle. Duty cycle is the ratio of tW to T. Duty Cycle = (tw / T) 100% Volts Time Amplitude (A) Pulse width (tW) Period, T
  • 11. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed A timing diagram is used to show the relationship between two or more digital waveforms, SummarySummary Timing Diagrams Clock A B C A diagram like this can be observed directly on a logic analyzer.
  • 12. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed Data can be transmitted by either serial transfer e.g USB or parallel transfer e.g Data Bus in a computer. SummarySummary Serial and Parallel Data Computer Modem 1 0 1 1 0 0 1 0 t0 t1 t2 t3 t4 t5 t6 t7 Computer Printer 0 t0 t1 1 0 0 1 1 0 1
  • 13. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed SummarySummary Basic Logic Functions True only if all input conditions are true. True only if one or more input conditions are true. Indicates the opposite condition.
  • 14. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed SummarySummary Basic System Functions And, or, and not elements can be combined to form various logic functions. A few examples are: The comparison function Basic arithmetic functions Adder Two binary numbers Carry out A B Cout CinCarry in Sumฮฃ Two binary numbers Outputs A B A< B A= B A> B Comparator
  • 15. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed SummarySummary Basic System Functions The encoding function The decoding function Decoder Binary input 7-segment display Encoder9 8 9 4 5 6 1 2 3 0 . +/โ€“ 7 Calculator keypad 8 7 6 5 4 3 2 1 0 HIGH Binary code for 9 used for storage and/or computation
  • 16. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed SummarySummary Basic System Functions The data selection function Multiplexer A Switching sequence control input B C โˆ†t2 โˆ†t3 โˆ†t1 โˆ†t2 โˆ†t3 โˆ†t1 Demultiplexer D E F Data from Ato D Data from Bto E Data from Cto F Data from Ato D โˆ†t1 โˆ†t2 โˆ†t3 โˆ†t1 Switching sequence control input
  • 17. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed SummarySummary Basic System Functions The counting function โ€ฆand other functions such as code conversion and storage. Input pulses 1 Counter Parallel output lines Binary code for 1 Binary code for 2 Binary code for 3 Binary code for 4 Binary code for 5 Sequence of binary codes that represent the number of input pulses counted. 2 3 4 5
  • 18. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed SummarySummary Basic System Functions One type of storage function is the shift register, that moves and stores data each time it is clocked. 0 0 0 00101 Initially, theregister contains onlyinvalid data or all zeros as shown here. 1 0 0 0010 First bit (1) is shifted serially into the register. 0 1 0 001 Second bit (0) is shifted serially into register and first bit is shifted right. 1 0 1 00 Third bit (1) is shifted into register and the first and second bits are shifted right. 0 1 0 1 Fourth bit (0) is shifted into register and the first,second,and third bits areshifted right.The register now stores all four bits and is full. Serial bits on input line
  • 19. ยฉ 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10th ed SummarySummary Integrated Circuits Plastic case Pins Chip Cutaway view of DIP (Dual-In-line Pins) chip: The TTL series, available as DIPs are popular for laboratory experiments with logic.