CC442 Chapter 1 Introduction by Floyd
CC442 Chapter 1 Introduction by Floyd
Introductory Digital
Concepts
1
Chapter Outline
• Digital and Analog Quantities
• Binary Digits, Logic Levels, and Digital
Waveforms
• Introduction to Basic Logic Operations
• Basic Overview of Logic Functions
• Fixed-Function Integrated Circuits
• Programmable Logic Devices (PLDs)
• Introduction to Test Instruments
2
Figure 1--1 Graph of an analog quantity (temperature versus time).
3
Figure 1--2 Sampled-value representation (quantization) of the analog quantity in Figure 1-1. Each
value represented by a dot can be digitized by representing it as a digital code that consists of a series
of 1s and 0s.
4
Digital Advantages
• Digital Data can be
processed/transmitted more efficiently
and reliably.
• Storage: can be stored more compactly
and reproduced w/ greater accuracy
and clarity.
5
Analog Electronic System
6
System Using Digital and Analog Methods
7
Binary Digits
• Two digits in BINARY system, 1 and 0,
called BIT (Binary digit)
• Positive Logic: HIGH=1, LOW=0
• Negative Logic: LOW=1, HIGH=0
• Code : Groups of bits to represent numbers,
letters, symbols, instructions, etc.
8
Logic Levels
Voltages used to
represent 1 and 0.
9
Digital Waveforms
11
Periodic and Nonperiodic
12
Pulse Width and Duty Cycle
13
Digital Waveform Carries
Binary Information
14
Figure 1--11 Example of a timing diagram.
15
Data Transfer
Figure 1--12 Illustration of serial and parallel transfer of binary data. Only the data lines are shown.
16
Basic Logic Operations and
Symbols
17
NOT Operation
18
AND Operation
19
OR Operation
20
Basic Logic Functions
• Comparison Function
• Arithmetic Functions
• Code conversion function
• Encoding function
• Decoding function
• Data selection function
• Data storage function
• Counting function
21
Comparison Function
22
Arithmetic Function
23
Code Conversion Function:
Encoder
Figure 1--21 An encoder used to encode a calculator keystroke into a binary code for
storage or for calculation.
24
Code Conversion Function:
Decoder
Figure 1--22 A decoder used to convert a special binary code into a 7-segment decimal readout.
25
Data Selection Function
Figure 1--24 Example of the operation of a 4-bit serial shift register. Each block represents one storage “cell” or flip-
flop. 27
Data Storage Function
28
Counting Function
29
Fixed-Function Integrated
Circuits
Figure 1--27 Cutaway view of one type of fixed-function IC package showing the chip mounted
inside, with connection to input an output pins.
30
IC Packages
Figure 1--28 Examples of through-hole and surface-mounted devices. The DIP is larger than the SOIC
with the same number of leads. This particular DIP is approximately 0.785 in. long, and the SOIC is
approximately 0.385 in. long.
31
Figure 1--29 Examples of SMT package configurations.
32
Pin Numbering
Figure 1--30 Pin numbering for two standard types of IC packages. Top views are shown.
33
Integrated Circuit
Technologies
• TTL
• ECL
• CMOS
• NMOS
• SSI and MSI use TTL or CMOS
• VLSI and ULSI use CMOS or NMOS
34
Programmable Logic Devices
(PLD)
• Programmable logic devices can replace fixed-
function logic - the major advantage is that the
logic function of the PLD can be changed
without rewiring.
• SPLD (Simple Programmable Logic Devices)
• CPLD (Complex Programmable Logic Devices)
35
Types of SPLD
• PAL (Programmable Array Logic)
• GAL (Generic Array Logic)
• PLA (Programmable Logic Array)
• PROM (Programmable Read-only Memory)
36
Types of CPLD
CPLDs are made using 2 to 64 SPLDs
37
PLD programming
• Schematic Entry
• Text-Based Entry
38
Test Equipment
• Analog Oscilloscope
• Digital Oscilloscope
• Logic Analyzer
• Logic Probe, Pulser, and Current Probe
• DC Power Supply
• Function Generator
• Digital Multimeter
39
Oscilloscope
40
Figure 1--34 A typical dual-channel digital oscilloscope. Numbers below screen are arbitrary and are
shown for illustration only.
41
Figure 1--36 A typical dual-channel analog oscilloscope.
42
Logic Analyzer
43
Logic Probe
Figure 1--38 Illustration of how a logic probe is used to detect various voltage conditions at a
44
given point in a circuit.
Figure 1--40 Typical test instruments
45
Digital System Application
46
Figure 1--41 Simplified basic block diagram for a tablet-counting and bottling control system.