Sei sulla pagina 1di 1149

Figure P–1

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–2

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–3

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–4

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–5

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–6

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–7

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–8

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–9

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–10

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–11

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–12

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–13

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–14

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–15

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–16

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–17

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–18

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–19

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–20

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–21

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–22

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–23

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–24

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–25

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–26

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–27

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–28

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–29

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–30

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–31

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–32

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–33

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–34

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–35

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–36

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–37

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–38

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–39

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–40

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–41

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–42

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–43

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–44

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–45

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–46

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–47

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–48

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–49

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–50

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–51

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–52

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–53

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–54

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–55

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–56

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–57

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–58

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–59

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–60

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–61

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–62

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–63

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–64

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–65

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–66

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–67

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–68

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–69

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–70

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–71

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–72

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–73

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–74

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–75

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–76

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–77

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–78

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–79

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–80

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–81

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–82

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–83

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–84

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–85

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–86

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–87

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–88

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–89

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–90

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–91

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–92

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–93

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–94

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–95

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure P–96

Copyright ©2006 by Pearson Education, Inc.


Thomas L.Floyd
Upper Saddle River, New Jersey 07458
DigitalFundamentals, 9e All rights reserved.
Figure 1–1 Graph of an analog quantity (temperature versus time).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
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.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–3 A basic audio public address system.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–4 Basic block diagram of a CD player. Only one channel is shown.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–5 Logic level ranges of voltage for a digital circuit.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–6 Ideal pulses.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–7 Nonideal pulse characteristics.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–8 Examples of digital waveforms.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–9

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–10 Example of a clock waveform synchronized with a waveform representation of a sequence of bits.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–11 Example of a timing diagram.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–12 Illustration of serial and parallel transfer of binary data. Only the data lines are shown.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–13

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–14

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–15 The basic logic operations and symbols.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–16 The NOT operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–17 The AND operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–18 The OR operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–19 The comparison function.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–20 The addition function.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–21 An encoder used to encode a calculator keystroke into a binary code for storage or for calculation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–22 A decoder used to convert a special binary code into a 7-segment decimal readout.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–23 Illustration of a basic multiplexing/demultiplexing application.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–24 Example of the operation of a 4-bit serial shift register. Each block represents one storage “cell” or flip-flop.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–25 Example of the operation of a 4-bit parallel shift register.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–26 Illustration of basic counter operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–27 Cutaway view of one type of fixed-function IC package showing the chip mounted inside, with connections to input and
output pins.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
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.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–29 Examples of SMT package configurations.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–30 Pin numbering for two standard types of IC packages. Top views are shown.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–31 Programmable logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–32 Block diagrams of simple programmable logic devices (SPLDs).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–33 Typical SPLD package.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–34 General block diagram of a CPLD.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–35 Typical CPLD packages.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–36 Basic structure of an FPGA.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–37 A typical ball-grid array package configuration.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–38 Basic configuration for programming a PLD or FPGA.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–39 Basic programmable logic design flow block diagram.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–40 A typical dual-channel oscilloscope. Used with permission from Tektronix, Inc.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–41 Comparison of analog and digital oscilloscopes.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–42 Block diagram of an analog oscilloscope.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–43 Block diagram of a digital oscilloscope.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–44 A typical dual-channel oscilloscope. Numbers below screen indicate the values for each division on the vertical (voltage)
and horizontal (time) scales and can be varied using the vertical and horizontal controls on the scope.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–45 Comparison of an untriggered and a triggered waveform on an oscilloscope.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–46 Displays of the same waveform having a dc component.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–47 An oscilloscope voltage probe. Used with permission from Tektronix, Inc.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–48 Probe compensation conditions.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–49

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–50 Typical logic analyzer. Used with permission from Tektronix, Inc.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–51 Simplified block diagram of a logic analyzer.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–52 Two logic analyzer display modes.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–53 A typical multichannel logic analyzer probe. Used with permission from Tektronix, Inc.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–54 Typical signal generators. Used with permission from Tektronix, Inc.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–55 Illustration of how a logic pulser and a logic probe can be used to apply a pulse to a given point and check for resulting
pulse activity at another part of the circuit.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–56 Typical dc power supplies. Courtesy of B+K Precision.®

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–57 Typical DMMs. Courtesy of B+K Precision.®

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–58 Simplified basic block diagram for a tablet-counting and bottling control system.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–59

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–60

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–61

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–62

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–63

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 1–64

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 2–1 Illustration of a simple binary counting application.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 2–2 Example of inverters used to obtain the 1’s complement of a binary number.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 2–3 Example of obtaining the 2’s complement of a negative binary number.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 2–4 Getting the 2’s complement of a hexadecimal number, Method 1.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 2–5 Getting the 2’s complement of a hexadecimal number, Method 2.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 2–6 Getting the 2’s complement of a hexadecimal number, Method 3.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 2–7 A simplified illustration of how the Gray code solves the error problem in shaft position encoders.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–1 Standard logic symbols for the inverter (ANSI/IEEE Std. 91-1984).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–2 Inverter operation with a pulse input. Open file F03-02 to verify inverter operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–3 Timing diagram for the case in Figure 3–2.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–4

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–5

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–6 The inverter complements an input variable.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–7 Example of a 1’s complement circuit using inverters.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–8 Standard logic symbols for the AND gate showing two inputs (ANSI/IEEE Std. 91-1984).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–9 All possible logic levels for a 2-input AND gate. Open file F03-09 to verify AND gate operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–10 Example of AND gate operation with a timing diagram showing input and output relationships.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–11

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–12

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–13

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–14 Boolean expressions for AND gates with two, three, and four inputs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–15 An AND gate performing an enable/inhibit function for a frequency counter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–16 A simple seat belt alarm circuit using an AND gate.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–17 Standard logic symbols for the OR gate showing two inputs (ANSI/IEEE Std. 91-1984).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–18 All possible logic levels for a 2-input OR gate. Open file F03-18 to verify OR gate operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–19 Example of OR gate operation with a timing diagram showing input and output time relationships.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–20

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–21

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–22

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–23 Boolean expressions for OR gates with two, three, and four inputs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–24 A simplified intrusion detection system using an OR gate.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–25 Standard NAND gate logic symbols (ANSI/IEEE Std. 91-1984).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–26 Operation of a 2-input NAND gate. Open file F03-26 to verify NAND gate operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–27

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–28

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–29 Standard symbols representing the two equivalent operations of a NAND gate.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–30

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–31

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–32

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–33 Standard NOR gate logic symbols (ANSI/IEEE Std. 91-1984).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–34 Operation of a 2-input NOR gate. Open file F03-34 to verify NOR gate operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–35

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–36

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–37 Standard symbols representing the two equivalent operations of a NOR gate.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–38

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–39

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–40

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–41 Standard logic symbols for the exclusive-OR gate.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–42 All possible logic levels for an exclusive-OR gate. Open file F03-42 to verify XOR gate operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–43

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–44 Standard logic symbols for the exclusive-NOR gate.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–45 All possible logic levels for an exclusive-NOR gate. Open file F03-45 to verify XNOR gate operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–46 Example of exclusive-OR gate operation with pulse waveform inputs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–47

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–48 An XOR gate used to add two bits.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–49 Basic concept of a programmable AND array.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–50

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–51 The programmable fuse link.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–52 The programmable antifuse link.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–53 A simple AND array with EPROM technology. Only one gate in the array is shown for simplicity.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–54 Basic concept of an AND array with SRAM technology.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–55 Setup for programming a PLD in a programming fixture (programmer).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–56 Programming setup for reprogrammable logic devices.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–57 Examples of design entry of an AND gate.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–58 Simplified illustration of in-system programming via a JTAG interface.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–59 Simplified block diagram of a PLD with an embedded processor and memory.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–60 Typical dual in-line (DIP) and small-outline (SOIC) packages showing pin numbers and basic dimensions.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–61 Pin configuration diagrams for some common fixed-function IC gate configurations.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–62 Logic symbols for hex inverter (04 suffix) and quad 2-input NAND (00 suffix). The symbol applies to the same device in
any CMOS or TTL series.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–63

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–64 The LS TTL NAND gate output fans out to a maximum of 20 LS TTL gate inputs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–65 The partial data sheet for a 74LS00.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–66 The partial data sheet for a 74HC00A.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–67 The effect of an open input on a NAND gate.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–68 Troubleshooting a NAND gate for an open input.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–69 Troubleshooting a NOR gate for an open output.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–70

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–71

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–72

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–73

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–74

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–75

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–76

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–77

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–78

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–79

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–80

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–81

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–82

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–83

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–84

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–85

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–86

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–87

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–88

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–89

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–90

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–91

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–92

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–93

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–94

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–95

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–96

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–97

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–98

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–99

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–100

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–101

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–102

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–103

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 3–104

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–1 Application of commutative law of addition.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–2 Application of commutative law of multiplication.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–3 Application of associative law of addition. Open file F04-03 to verify.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–4 Application of associative law of multiplication. Open file F04-04 to verify.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–5 Application of distributive law. Open file F04-05 to verify.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–6

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–7

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–8

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–9

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–10

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–11

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–12

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–13

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–14

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–15 Gate equivalencies and the corresponding truth tables that illustrate DeMorgan’s theorems. Notice the equality of the two
output columns in each table. This shows that the equivalent gates perform the same logic function.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–16 A logic circuit showing the development of the Boolean expression for the output.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–17 Gate circuits for Example 4–8. Open file F04-17 to verify equivalency.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–18 Implementation of the SOP expression AB + BCD + AC.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–19 This NAND/NAND implementation is equivalent to the AND/OR in Figure 4–18.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–20 Implementation of the POS expression (A + B)(B + C + D)(A + C).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–21 A 3-variable Karnaugh map showing product terms.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–22 A 4-variable Karnaugh map.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–23 Adjacent cells on a Karnaugh map are those that differ by only one variable. Arrows point between adjacent cells.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–24 Example of mapping a standard SOP expression.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–25

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–26

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–27

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–28

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–29

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–30

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–31

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–32

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–33

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–34

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–35 Example of mapping directly from a truth table to a Karnaugh map.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–36 Example of the use of “don’t care” conditions to simplify an expression.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–37 Example of mapping a standard POS expression.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–38

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–39

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–40

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–41

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–42 A 5-variable Karnaugh map.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–43 Illustration of groupings of 1s in adjacent cells of a 5-variable map.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–44

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–45 A VHDL program for a 2-input AND gate.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–46

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–47 Seven-segment display format showing arrangement of segments.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–48 Display of decimal digits with a 7-segment device.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–49 Arrangements of 7-segment LED displays.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–50 Block diagram of 7-segment logic and display.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–51 Karnaugh map minimization of the segment-a logic expression.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–52 The minimum logic implementation for segment a of the 7-segment display.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–53

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–54

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–55

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–56

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–57

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–58

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–59

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–60

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–61

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–62

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–63

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–64

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–65

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 4–66

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–1 An example of AND-OR logic. Open file F05-01 to verify the operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–2

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–3 An AND-OR-Invert circuit produces a POS output. Open file F05-03 to verify the operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–4

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–5 Exclusive-OR logic diagram and symbols. Open file F05-05 to verify the operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–6 Two equivalent ways of implementing the exclusive-NOR. Open file F05-06 to verify the operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–7 Logic circuit for X = AB + CDE.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–8 Logic circuits for

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–9 Logic circuit for . Open file F05-09 to verify the operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–10 Open file F05-10 to verify the operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–11 Open file F05-11 to verify the operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–12 Open file F05-12 to verify that this circuit is equivalent to the circuit in Figure 5–13.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–13

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–14

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–15

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–16 Universal application of NAND gates. Open files F05-16(a), (b), (c), and (d) to verify each of the equivalencies.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–17 Universal application of NOR gates. Open files F05-17(a), (b), (c), and (d) to verify each of the equivalencies.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–18 NAND logic for X = AB + CD.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–19 Development of the AND-OR equivalent of the circuit in Figure 5–18.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–20 Illustration of the use of the appropriate dual symbols in a NAND logic diagram.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–21

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–22

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–23

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–24 NOR logic for X = (A + B)(C + D).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–25

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–26 Illustration of the use of the appropriate dual symbols in a NOR logic diagram.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–27

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–28

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–29

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–30

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–31

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–32

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–33

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–34

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–35 Simplified comparison of the VHDL structural approach to a hardware implementation. The VHDL signals correspond to
the interconnections on the circuit board, and the VHDL components correspond to the IC devices.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–36 Predefined programs for a 2-input AND gate and a 2-input OR gate to be used as components in the data flow approach.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–37

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–38 Illustration of the instantiation statements and port mapping applied to the AND-OR logic. Signals are shown in red.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–39

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–40 A VHDL program for a combinational logic circuit after entry on a generic text editor screen that is part of a software
development tool.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–41 A typical waveform editor tool showing the simulated waveforms for the logic circuit described by the VHDL code in
Figure 5–40.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–42 Illustration of a node in a logic circuit.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–43 Open output in driving gate. For simplicity, assume a HIGH is on one gate input.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–44 Open input in a load gate.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–45 Shorted output in the driving gate or shorted input in a load gate.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–46 Example of signal tracing and waveform analysis in a portion of a printed circuit board. TP indicates test point.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–47

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–48 Fluid storage tank with level and temperature sensors and controls.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–49 Karnaugh map simplification and implementation for the inlet valve logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–50 Karnaugh map simplification and implementation for the outlet valve logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–51

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–52

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–53

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–54

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–55

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–56

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–57

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–58

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–59

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–60

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–61

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–62

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–63

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–64

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–65

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–66

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–67

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–68

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–69

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–70

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–71

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–72

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–73

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–74

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–75

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 5–76

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–1 Logic symbol for a half-adder. Open file F06-01 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–2 Half-adder logic diagram.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–3 Logic symbol for a full-adder. Open file F06-03 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–4 Full-adder logic. Open file F06-04 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–5 Full-adder implemented with half-adders.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–6

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–7 Block diagram of a basic 2-bit parallel adder using two full-adders. Open file F06-07 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–8

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–9 A 4-bit parallel adder.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–10 Four-bit parallel adder.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–11 Propagation delay characteristics for the 74LS283.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–12 Examples of adder expansion.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–13 Two 74LS283 adders connected as an 8-bit parallel adder (pin numbers are in parentheses).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–14 A voting system using full-adders and parallel binary adders.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–15 A 4-bit parallel ripple carry adder showing “worst-case” carry propagation delays.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–16 Illustration of conditions for carry generation and carry propagation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–17 Carry generation and carry propagation in terms of the input bits to a 4-bit adder.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–18 Logic diagram for a 4-stage look-ahead carry adder.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–19 Basic comparator operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–20 Logic diagram for equality comparison of two 2-bit numbers. Open file F06-20 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–21

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–22 Logic symbol for a 4-bit comparator with inequality indication.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–23

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–24 Pin diagram and logic symbol for the 74HC85 4-bit magnitude comparator (pin numbers are in parentheses).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–25 An 8-bit magnitude comparator using two 74HC85s.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–26 Decoding logic for the binary code 1001 with an active-HIGH output.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–27 Decoding logic for producing a HIGH output when 1011 is on the inputs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–28 Logic symbol for a 4-line-to-16-line (1-of-16) decoder. Open file F06-28 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–29 Pin diagram and logic symbol for the 74HC154 1-of-16 decoder.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–30 A 5-bit decoder using 74HC154s.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–31 A simplified computer I/O port system with a port address decoder with only four address lines shown.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–32 The 74HC42 BCD-to-decimal decoder.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–33

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–34 Logic symbol for a BCD-to-7-segment decoder/driver with active-LOW outputs. Open file F06-34 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–35 Pin diagram and logic symbol for the 74LS47 BCD-to-7-segment decoder/driver.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–36 Examples of zero suppression using the 74LS47 BCD to 7-segment decoder/driver.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–37 Logic symbol for a decimal-to-BCD encoder.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–38 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.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–39 Pin diagram and logic symbol for the 74HC147 decimal-to-BCD priority encoder (HPRI means highest value input has
priority).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–40 Logic symbol for the 74LS148 8-line-to-3-line encoder.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–41 A 16-line-to-4 line encoder using 74LS148s and external logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–42 A simplified keyboard encoder.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–43 Four-bit binary-to-Gray conversion logic. Open file F06-43 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–44 Four-bit Gray-to-binary conversion logic. Open file F06-44 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–45

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–46 Logic symbol for a 1-of-4 data selector/multiplexer.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–47 Logic diagram for a 4-input multiplexer. Open file F06-47 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–48

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–49 Pin diagram and logic symbol for the 74HC157 quadruple 2-input data selector/multiplexer.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–50 Pin diagram and logic symbol for the 74LS151 8-input data selector/multiplexer.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–51 A 16-input multiplexer.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–52 Simplified 7-segment display multiplexing logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–53 Data selector/multiplexer connected as a 3-variable logic function generator.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–54 Data selector/multiplexer connected as a 4-variable logic function generator.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–55 A 1-line-to-4-line demultiplexer.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–56

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–57 The 74HC154 decoder used as a demultiplexer.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–58

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–59 The 74LS280 9-bit parity generator/checker.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–60 Simplified data transmission system with error detection.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–61 Example of data transmission with and without error for the system in Figure 6–60.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–62 Decoder waveforms with output glitches.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–63 Decoder waveform displays showing how transitional input states produce glitches in the output waveforms.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–64 Application of a strobe waveform to eliminate glitches on decoder outputs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–65 Requirements for the traffic light sequence.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–66 A minimal system block diagram.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–67 System block diagram showing the essential elements.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–68 State diagram for the traffic light control system showing the Gray code sequence.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–69 Block diagram of the combinational logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–70 The state decoder logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–71 The light output logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–72 The trigger logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–73 The complete combinational logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–74

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–75

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–76

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–77

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–78

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–79

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–80

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–81

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–82

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–83

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–84

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–85

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–86

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–87

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–88

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–89

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–90

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–91

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–92

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–93

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–94

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–95

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–96

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–97

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–98

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–99

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–100

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–101

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 6–102

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–1 Two versions of SET-RESET (S-R) latches. Open file F07-01 and verify the operation of both latches.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–2 Negative-OR equivalent of the NAND gate latch in Figure 9–1(b).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure
Figure7–3
7–3 The
Thethree
threemodes
modesofofbasic latch
basic latch operation
operation (SET,
(SET, RESET,
RESET, no-change)
no-change) andand
thethe invalid
invalid condition.
condition.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–4 Logic symbols for the S-R and latch.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–5

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–6 The latch used to eliminate switch contact bounce.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–7 The 74LS279 quad latch.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–8 A gated S-R latch.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–9

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–10 A gated D latch.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–11

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–12 The 74LS75 quad gated D latches.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–13 Edge-triggered flip-flop logic symbols (top: positive edge-triggered; bottom: negative edge-triggered).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–14 Operation of a positive edge-triggered S-R flip-flop.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–15

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–16

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–17 Edge triggering.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–18 Flip-flop making a transition from the RESET state to the SET state on the positive-going edge of the clock pulse.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–19 Flip-flop making a transition from the SET state to the RESET state on the positive-going edge of the clock pulse.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–20 A positive edge-triggered D flip-flop formed with an S-R flip-flop and an inverter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–21

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–22 A simplified logic diagram for a positive edge-triggered J-K flip-flop.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–23 Transitions illustrating the toggle operation when J = 1 and K = 1.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–24

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–25

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–26 Logic symbol for a J-K flip-flop with active-LOW preset and clear inputs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–27 Logic diagram for a basic J-K flip-flop with active-LOW preset and clear inputs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–28 Open file F07-28 to verify the operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–29 Logic symbols for the 74AHC74 dual positive edge-triggered D flip-flop.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–30 Logic symbols for the 74HC112 dual negative edge-triggered J-K flip-flop.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–31

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–32 Propagation delays, clock to output.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–33 Propagation delays, preset input to output and clear input to output.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–34 Set-up time (ts). The logic level must be present on the D input for a time equal to or greater than ts before the triggering
edge of the clock pulse for reliable data entry.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–35 Hold time (th). The logic level must remain on the D input for a time equal to or greater than th after the triggering edge of
the clock pulse for reliable data entry.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–36 Example of flip-flops used in a basic register for parallel data storage.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–37 The J-K flip-flop as a divide-by-2 device. Q is one-half the frequency of CLK.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–38 Example of two J-K flip-flops used to divide the clock frequency by 4. QA is one-half and QB is one-fourth the frequency of
CLK.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–39

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–40

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–41 Flip-flops used to generate a binary count sequence. Two repetitions (00, 01, 10, 11) are shown.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–42

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–43

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–44 A simple one-shot circuit.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–45 Basic one-shot logic symbols. CX and RX stand for external components.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–46 Nonretriggerable one-shot action.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–47 Retriggerable one-shot action.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–48 Logic symbols for the 74121 nonretriggerable one-shot.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–49 Three ways to set the pulse width of a 74121.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–50 Logic symbol for the 74LS122 retriggerable one-shot.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–51

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–52 A sequential timing circuit using three 74LS122 one-shots.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–53 Internal functional diagram of a 555 timer (pin numbers are in parenthesis).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–54 The 555 timer connected as a one-shot.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–55 One-shot operation of the 555 timer.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–56 The 555 timer connected as an astable multivibrator (oscillator).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–57 Operation of the 555 timer in the astable mode.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–58 Frequency of oscillation as a function of C1 and R1 + 2R2. The sloped lines are values of R1 + 2R2.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–59 The addition of diode D1 allows the duty cycle of the output to be adjusted to less than 50 percent by making R1 < R2.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–60 Open file F07-60 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–61 Two-phase clock generator with ideal waveforms. Open file F07-61 and verify the operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–62 Oscilloscope displays for the circuit in Figure 7–61.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–63 Two-phase clock generator using negative edge-triggered flip-flop to eliminate glitches. Open file F07-63 and verify the
operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–64 Traffic light control system block diagram.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–65 Block diagram of the timing circuits.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–66 The timing circuits.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–67

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–68

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–69

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–70

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–71

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–72

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–73

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–74

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–75

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–76

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–77

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–78

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–79

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–80

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–81

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–82

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–83

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–84

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–85

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–86

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–87

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–88

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–89

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–90

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–91

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–92

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–93

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–94

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–95

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–96

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–97

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–98

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–99

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–100

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–101

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–102

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 7–103

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–1 A 2-bit asynchronous binary counter. Open file F08-01 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–2 Timing diagram for the counter of Figure 8–1. As in previous chapters, output waveforms are shown in green.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–3 Three-bit asynchronous binary counter and its timing diagram for one cycle. Open file F08-03 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–4 Propagation delays in a 3-bit asynchronous (ripple-clocked) binary counter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–5 Four-bit asynchronous binary counter and its timing diagram. Open file F08-05 and verify the operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–6 An asynchronously clocked decade counter with asynchronous recycling.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–7 Asynchronously clocked modulus-12 counter with asynchronous recycling.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–8 The 74LS93 4-bit asynchronous binary counter logic diagram. (Pin numbers are in parentheses, and all J and K inputs are
internally connected HIGH.)

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–9 Two configurations of the 74LS93 asynchronous counter. (The qualifying label, CTR DIV n, indicates a counter with n
states.)

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–10 74LS93 connected as a modulus-12 counter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–11 A 2-bit synchronous binary counter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–12 Timing details for the 2-bit synchronous counter operation (the propagation delays of both flip-flops are assumed to be
equal).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–13 Timing diagram for the counter of Figure 8–11.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–14 A 3-bit synchronous binary counter. Open file F08-14 to verify the operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–15 Timing diagram for the counter of Figure 8–14.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–16 A 4-bit synchronous binary counter and timing diagram. Points where the AND gate outputs are HIGH are indicated by the
shaded areas.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–17 A synchronous BCD decade counter. Open file F08-17 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–18 Timing diagram for the BCD decade counter (Q0 is the LSB).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–19 The 74HC163 4-bit synchronous binary counter. (The qualifying label CTR DIV 16 indicates a counter with sixteen states.)

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–20 Timing example for a 74HC163.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–21 The 74F162 synchronous BCD decade counter. (The qualifying label CTR DIV 10 indicates a counter with ten states.)

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–22 Timing example for a 74F162.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–23 A basic 3-bit up/down synchronous counter. Open file F08-23 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–24

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–25 The 74HC190 up/down synchronous decade counter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–26 Timing example for a 74HC190.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–27 General clocked sequential circuit.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–28 State diagram for a 3-bit Gray code counter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–29 Examples of the mapping procedure for the counter sequence represented in Table 8–7 and Table 8–8.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–30 Karnaugh maps for present-state J and K inputs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–31 Three-bit Gray code counter. Open file F08-31 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–32

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–33

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–34

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–35 State diagram for a 3-bit up/down Gray code counter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–36 J and K maps for Table 8–11. The control input, Y, is treated as a fourth variable.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–37 Three-bit up/down Gray code counter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–38 Two cascaded counters (all J and K inputs are HIGH).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–39 Timing diagram for the cascaded counter configuration of Figure 8–38.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–40 A modulus-100 counter using two cascaded decade counters.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–41 Three cascaded decade counters forming a divide-by-1000 frequency divider with intermediate divide-by-10 and divide-
by-100 outputs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–42

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–43 A divide-by-100 counter using two 74F162 decade counters.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–44 A divide-by-40,000 counter using 74HC161 4-bit binary counters. Note that each of the parallel data inputs is shown in
binary order (the right-most bit D0 is the LSB in each counter).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–45 Decoding of state 6 (110). Open file F08-45 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–46 A 3-bit counter with active-HIGH decoding of count 2 and count 7. Open file F08-46 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–47 A basic decade (BCD) counter and decoder.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–48 Outputs with glitches from the decoder in Figure 8–47. Glitch widths are exaggerated for illustration and are usually only a
few nanoseconds wide.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–49 The basic decade counter and decoder with strobing to eliminate glitches.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–50 Strobed decoder outputs for the circuit of Figure 8–49.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–51 Simplified logic diagram for a 12-hour digital clock. Logic details using specific devices are shown in Figures 8–52 and 8–
53.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–52 Logic diagram of typical divide-by-60 counter using 74F162 synchronous decade counters. Note that the outputs are in
binary order (the right-most bit is the LSB).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–53 Logic diagram for hours counter and decoders. Note that on the counter inputs and outputs, the right-most bit is the LSB.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–54 Functional block diagram for parking garage control.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–55 Logic diagram for modulus-100 up/down counter for automobile parking control.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–56 Parallel-to-serial data conversion logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–57 Example of parallel-to-serial conversion timing for the circuit in Figure 8–56.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–58 The 74HC163 4-bit synchronous counter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–59 Example of a failure that affects following counters in a cascaded arrangement.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–60 Example of a failure in a cascaded counter with a truncated sequence.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–61

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–62

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–63 Traffic light control system block diagram.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–64 Sequence of traffic light states.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–65 Block diagram of the sequential logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–66 State diagram for the traffic light control system.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–67 Sequential logic diagram.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–68 Input logic for the 2-bit Gray code counter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–69 The sequential logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–70 Block diagram of the complete traffic light control system.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–71 Comparison of asynchronous and synchronous counters.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–72 Note that the labels (names of inputs and outputs) are consistent with text but may differ from the particular manufacturer’s
data book you are using. The devices shown are functionally the same and pin compatible with the same device types in other available
CMOS and TTL IC families.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–73

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–74

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–75

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–76

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–77

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–78

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–79

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–80

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–81

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–82

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–83

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–84

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–85

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–86

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–87

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–88

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–89

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–90

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–91

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–92

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–93

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 8–94

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–1 The flip-flop as a storage element.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–2 Basic data movement in shift registers. (Four bits are used for illustration. The bits move in the direction of the arrows.)

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–3 Serial in/serial out shift register.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–4 Four bits (1010) being entered serially into the register.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–5 Four bits (1010) being serially shifted out of the register and replaced by all zeros.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–6 Open file F09-06 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–7 Logic symbol for an 8-bit serial in/serial out shift register.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–8 A serial in/parallel out shift register.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–9

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–10 The 74HC164 8-bit serial in/parallel out shift register.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–11 Sample timing diagram for a 74HC164 shift register.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–12 A 4-bit parallel in/serial out shift register. Open file F09-12 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–13

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–14 The 74HC165 8-bit parallel load shift register.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–15 Sample timing diagram for a 74HC165 shift register.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–16 A parallel in/parallel out register.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–17 The 74HC195 4-bit parallel access shift register.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–18 Sample timing diagram for a 74HC195 shift register.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–19 Four-bit bidirectional shift register. Open file F09-19 to verify the operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–20

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–21 The 74HC194 4-bit bidirectional universal shift register.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–22 Sample timing diagram for a 74HC194 shift register.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–23 Four-bit and 5-bit Johnson counters.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–24 Timing sequence for a 4-bit Johnson counter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–25 Timing sequence for a 5-bit Johnson counter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–26 A 10-bit ring counter. Open file F09-26 to verify operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–27

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–28 The shift register as a time-delay device.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–29

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–30 Timing diagram showing time delays for the register in Figure 9–29.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–31 74HC195 connected as a ring counter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–32 Timing diagram showing two complete cycles of the ring counter in Figure 9–31 when it is initially preset to 1000.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–33 Simplified logic diagram of a serial-to-parallel converter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–34 Serial data format.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–35 Timing diagram illustrating the operation of the serial-to-parallel data converter in Figure 9–33.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–36 UART interface.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–37 Basic UART block diagram.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–38 Simplified keyboard encoding circuit.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–39 Logic symbol for the 74HC164.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–40 Logic symbol for the 74HC194.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–41 Sample test pattern.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–42 Basic test setup for the serial-to-parallel data converter of Figure 9-33.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–43 Proper outputs for the circuit under test in Figure 9-42. The input test pattern is shown.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–44 Basic block diagram of the security system.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–45 Basic logic diagram of the security code logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–46

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–47

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–48

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–49

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–50

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–51

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–52

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–53

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–54

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–55

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–56

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–57

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–58

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–59

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–60

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–61

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–62

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–63

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–64

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–65

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–66

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 9–67

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–1 A 64-cell memory array organized in three different ways.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–2 Examples of memory address in a 2-dimensional array.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–3 Example of memory address in a 3-dimensional array.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–4 Block diagram of a 2-dimensional memory and a 3-dimensional memory showing address bus, address decoder(s),
bidirectional data bus, and read/write inputs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–5 Illustration of the write operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–6 Illustration of the read operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–7 The RAM family.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–8 A typical SRAM latch memory cell.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–9 Basic SRAM array.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–10 Logic diagram for an asynchronous 32k x 8 SRAM.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–11 Basic organization of an asynchronous 32k x 8 SRAM.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–12 Basic read and write cycle timing for the SRAM in Figure 10–11.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–13 A basic block diagram of a synchronous SRAM with burst feature.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–14 Address burst logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–15 Block diagram showing L1 and L2 cache memories in a computer system.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–16 A MOS DRAM cell.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–17 Basic operation of a DRAM cell.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–18 Simplified block diagram of a 1M x 1 DRAM.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–19 Basic timing for address multiplexing.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–20 Normal read and write cycle timing.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–21 Fast page mode timing for a read operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–22 The ROM family.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–23 ROM cells.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–24 A representation of a 16 x 8-bit ROM array.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–25 Representation of a ROM programmed as a binary-to-Gray code converter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
0
Figure 10–26 A 256 x 4 ROM logic symbol. The A 255 designator means that the 8-bit address code selects addresses 0 through 255.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–27 A 1024-bit ROM with a 256 x 4 organization based on a 32 x 32 array.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–28 ROM access time (ta) from address change to data output with chip enable already active.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–29 MOS PROM array with fusible links. (All drains are commonly connected to VDD.)

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–30 Ultraviolet erasable PROM package.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–31 The logic symbol for a 2048 x 8 UV EPROM.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–32 Timing diagram for a 2048 x 8 UV EPROM programming cycle, with critical setup times (ts) and hold times (th)
indicated.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–33 The storage cell in a flash memory.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–34 Simplified illustration of storing a 0 or a 1 in a flash cell during the programming operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–35 The read operation of a flash cell in an array.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–36 Simplified illustration of removing charge from a cell during erase.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–37 Basic flash memory array.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–38 Expansion of two 65,536 x 4 ROMs into a 65,536 x 8 ROM to illustrate word-length expansion.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–39 A 64k x 4 ROM.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–40

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–41

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–42 Illustration of word-length expansion with two 2m x n RAMs forming a 2m x 2n RAM.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–43

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–44 Illustration of word-capacity expansion.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–45

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–46 30-pin and 72-pin SIMMs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–47 A SIMM/DIMM is inserted into a socket on a system board.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–48 Comparison of conventional and FIFO register operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–49 Block diagram of a typical FIFO serial memory.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–50 Examples of the FIFO register in data-rate buffering applications.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–51 Register stack.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–52 Simplified illustration of pushing data onto the stack.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–53 Simplified illustration of pulling data from the stack.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–54 Representation of a 64 kB memory with the 16-bit addresses expressed in hexadecimal.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–55 Illustration of the PUSH operation for a RAM stack.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–56 Illustration of the POP operation for the RAM stack.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–57 A CCD (charge-coupled device) channel.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–58 A hard disk drive.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–59 Simplified read/write head operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–60 Hard disk organization and formatting.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–61 The 3.5 inch floppy disk (diskette).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–62 QIC tape.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–63 Basic principle of a magneto-optical disk.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–64 Basic operation of reading data from a CD-ROM.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–65 Block diagram for a complete contents check of a ROM.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–66 Flowchart for a complete contents check of a ROM.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–67 Simplified illustration of a programmed ROM with the checksum stored at a designated address.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–68 Flowchart for a basic checksum test.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–69 The RAM checkerboard test pattern.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–70 Flowchart for basic RAM checkerboard test.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–71 Block diagram of the complete security system.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–72 Block diagram of the memory logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–73 Memory cell logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–74 The memory address decoder.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–75 Memory array and address decoder.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–76 Illustration of entering a security code (4739) into the memory.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–77 The complete memory logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–78 The security code logic (from Chapter 11).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–79 The complete security system.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–80

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–81

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–82

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–83

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–84

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–85

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–86

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–87

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 10–88

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–1 Basic AND/OR structure of a PAL.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–2 PAL implementation of a sum-of-products expression.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–3 Simplified GAL array.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–4 A portion of a programmed PAL/GAL.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–5

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–6 General block diagram of a PAL or GAL.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–7 Basic types of PAL/GAL macrocells for combinational logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–8 Logic block diagram of a PAL16V8 and typical SPLD package.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–9 Block diagram of the GAL22V10 and typical SPLD package.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–10 Basic block diagram of a generic CPLD.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–11 Basic block diagram of the Altera MAX 7000 series CPLD.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–12 Simplified diagram of a macrocell in a MAX 7000 series CPLD.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–13 Example of how a shared expander can be used in a macrocell to increase the number of product terms.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–14 Simplified illustration of using a shared expander term from another macrocell to increase an SOP expression.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–15 Basic concept of the parallel expander.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–16 Simplified illustration of using parallel expander terms from another macrocell to increase an SOP expression.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–17 Simplified block diagram of the MAX II CPLD.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–18 MAX II CPLDs have LUT logic. Classic CPLDs have AND/OR arrays.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–19 MAX II CPLDs have row/column interconnects. Classic CPLDs have channel-type interconnects.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–20 Comparison of a basic PLA to a basic PAL.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–21 Basic architectural block diagram of the Xilinx CoolRunner II CPLD.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–22 Simplified diagram of a CoolRunner II function block (FB) with a PLA structure.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–23

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–24 Commonly used symbol for a multiplexer. It can have any number of inputs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–25 A macrocell in the Altera MAX 7000 family of CPLDs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–26 A macrocell configured for generation of an SOP logic function. Red indicates data path.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–27 A macrocell configured for generation of a registered logic function. Red indicates data path.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–28 A macrocell in the Xilinx CoolRunner II CPLD.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–29 A macrocell configured for generation of an SOP logic function. Red indicates data path.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–30 A macrocell configured for generation of a registered logic function. Red indicates data path.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–31 Basic structure of an FPGA. CLB is configurable logic block.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–32 Basic configurable logic blocks (CLBs) within the global row/column programmable interconnects.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–33 Basic block diagram of a logic module in an FPGA.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–34 The basic concept of an LUT programmed for a particular SOP output.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–35

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–36 Basic concepts of volatile FPGA configurations.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–37 Basic idea of a hard-core function embedded in an FPGA.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–38 Simplified diagram of the Stratix II FPGA LAB (logic array block) structure. ALMs are adaptive logic modules.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–39 Simplified diagram of a Stratix II adaptive logic module (ALM).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–40 Examples of possible LUT configurations in an adaptive logic module (ALM) in the normal mode.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–41 Expansion of an ALM to produce a 7-variable SOP function in the extended LUT mode.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–42

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–43 Stratix II block diagram.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–44 Simplified CLB in a Virtex FPGA.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–45 Example of using cascade chains for expansion of an SOP function.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–45 (Continued)

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–46 Implementation of a 16-input AND gate to produce a product term with sixteen variables.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–47 Embedded IP functions (memory, DSP, and processor) result in less configurable logic and/or a larger physical chip size
due to increased I/Os.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–48 Basic concept of the ASMBL platform-FPGA architecture.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–49 General design flow diagram for programming a SPLD, CPLD, or FPGA.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–50 Essential elements for programming an SPLD, CPLD, or FPGA.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–51 Examples of text and schematic entry screens.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–52 Example of creating logic in segments and then combining the segments.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–52 (Continued)

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–53 The logic circuit with two logic blocks and an OR gate is reduced to another logic block, Logic3.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–54 Generic Waveform Editor screen with input and output names specified for the circuit that was entered in Figure 11–53.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–55 Input waveforms are specified on the Waveform Editor screen.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–56 After the functional simulation is run, the output waveform should indicate that the logic is functioning properly.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–57 Example of logic optimization during synthesis.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–58 Synthesis produces a netlist for the optimized logic circuit.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–59 Hypothetical examples of timing simulation results.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–60 Downloading a design to the target device.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–61 Analogy of real estate development to implementing (site plan) and downloading (construction) a logic design to target
device.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–62 Greatly simplified diagram of a JTAG (IEEE Std. 1149.1) compliant programmable logic device (CPLD or FPGA). The
BSCs (boundary scan cells) form the boundary scan register. Only a small number of BSCs are shown for illustration.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–63 Boundary scan logic diagram.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–64 A basic bidirectional BSC.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–65 Representative architecture of a typical boundary scan cell.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–66 Data path for serially shifting data from one BSC to the next. There is a 1 on the SHIFT input and a CLOCK pulse is
applied. The red lines indicate data flow.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–67 Data path for transferring data from the internal programmable logic to a device output pin. There is a 0 on the PDI/O line
and a 1 on the OE line.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–68 Data path for transferring data from a device input pin to the internal programmable logic. There is a 0 on the PDI/O line
and a 0 on the OE line.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–69 Data path for transferring data from the SDI to the internal programmable logic and the SDO. There is a 1 on the SHIFT
line, a 1 on the PDI/O line, and a 0 on the OE line. A pulse is applied to the CLOCK line followed by a pulse on the

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–70 Data path for transferring data from the SDI to a device output pin and the SDO. There is a 1 on the SHIFT line, a 1 on the
PDI/O line and a 1 on the OE line. A pulse is applied to the CLOCK line followed by a pulse on the UPDATE line.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–71 Basic concept of boundary scan testing of multiple devices and interconnections. The test path is shown in red.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–72 Traditional testing using laboratory instruments.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–73 Basic concept of bed-of-nails method for testing a circuit board.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–74 A flying probe testing a circuit board.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–75 Basic concept of boundary scan logic in a programmable device.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–76 Example of a bit pattern in the boundary scan Intest for the internal logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–77 Example of a bit pattern in the boundary scan Extest for external faults.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–78 A combination of boundary scan, bed-of-nails, and flying probe testing.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–79 The seven individual segment logic circuits.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–80 Illustration of selection and placement of logic symbols in the Graphic Editor.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–81 Selection of input and output pins in the Symbol window.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–82 Placement of pins and making circuit connections in the Graphic Editor.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–83 Complete schematic of segment-a logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–84 Compiler dialog box.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–85 Input waveforms and the resulting output waveform for segment-a logic.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–86 The segment-a logic schematic converted to a block symbol.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–87 Screens for segment logic (b, c, and d).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–88 Screens for segment logic (e, f, and g). The output waveforms in each case are to be completed as an activity.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–89 Selection, placement, and interconnection of the segment logic in the Graphic Editor.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–90 Ideal timing simulation for the complete 7-segment logic in Figure 11–89. The segment waveforms for e, f, and g are to be
completed as an activity.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–91 The complete BCD-to-7-segment decoder as a single block symbol.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–92 Selection of the target device.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–93 The design has been downloaded to the target device on a development board.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–94 Example of the target device mounted on a development board being tested with on board switches and 7-segment
display.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–95

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–96

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–97

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–98

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–99

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–100

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–101

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–102

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–103

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–104

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–105

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–106

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–107

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–108

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–109

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–110

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 11–111

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–1 Basic computer block diagram.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–2 Basic block diagram of a typical computer system including common peripherals. The computer itself is shown within the
gray block.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–3

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–4 The 8086/8088 has two separate internal units, the EU and the BIU.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–5 The internal organization of the 8088 microprocessor.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–6 Nonoverlapping and overlapping segments in the first 1 MB of memory. Each segment represents 64 kB.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–7 Formation of the 20-bit physical address from the segment base address and the offset address.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–8 Illustration of the segmented addressing method.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–9

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–10

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–11 The general register set.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–12 The status and control flags.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–13 Registers for the Intel processors from 8086/8088 through Pentium.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–14 Hierarchy of programming languages relative to computer hardware.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–15 Assembly to machine conversion using an assembler.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–16 High-level to machine conversion with a compiler.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–17 Machine independence of a program written in a high-level language.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–18 Flowchart for adding a list of numbers.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–19 Steps in beginning to execute the addition program with Debug.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–20 Last portion of tracing the addition program. The sum 00F1 is shown in blue with the low part (F1) given first.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–21 Flowchart. The variable BIG represents the largest value.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–22 Listing of Debug portion of program.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–23 Data before and after a run.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–24 The basic polled I/O configuration.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–25 A basic interrupt-driven I/O configuration.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–26 A memory I/O transfer handled by the CPU.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–27 A DMA transfer.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–28 The interconnection of microprocessor-based system components by a bidirectional, multiplexed bus.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–29 An example of a handshaking sequence.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–30 Tristate buffer interface to a bus.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–31 Method of indicating tristate outputs on an IC device.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–32 Tristate buffer symbols.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–33 Tristate buffer operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–34 Multiplexed I/O operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–35 Simplified illustration of the basic bus system in a typical personal computer.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–36 The RS-232C 25-pin connector plug.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–37 The RS-232C pin assignments and signals for both connector versions.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–38 Example of a computer system with USB interfacing.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–39 A typical IEEE 488 (GPIB) connection.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–40 Timing diagram for the GPIB handshaking sequence.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–41 A bus extender and modem can be used for interfacing remote GPIB systems.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–42 SCSI 25-pin connector.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–43

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–44

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–45

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–46

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–47

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 12–48

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–1 An original analog signal (sine wave) and its “stairstep” approximation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–2 Basic block diagram of a typical digital signal processing system.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–3 Illustration of the sampling process.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–4 Bouncing ball analogy of sampling theory.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–5 A basic illustration of the condition fsample < 2fa(max).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–6 After low-pass filtering, the frequency spectra of the analog and the sampling signals do not overlap, thus eliminating
aliasing error.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–7 Illustration of a sample-and-hold operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–8 Basic function of an analog-to-digital (ADC) converter (The binary codes and number of bits are arbitrarily chosen for
illustration only). The ADC output waveform that represents the binary codes is also shown.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–9 Sample-and-hold output waveform with four quantization levels. The original analog waveform is shown in light gray for
reference.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–10 The reconstructed waveform in Figure 13–9 using four quantization levels (2 bits). The original analog waveform is
shown in light gray for reference.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–11 Sample-and-hold output waveform with sixteen quantization levels. The original analog waveform is shown in light gray
for reference.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–12 The reconstructed waveform in Figure 13–11 using sixteen quantization levels (4 bits). The original analog waveform is
shown in light gray for reference.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–13 The operational amplifier (op-amp).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–14 A 3-bit flash ADC.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–15 Sampling of values on a waveform for conversion to binary code.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–16 Resulting digital outputs for sample-and-hold values. Output D0 is the LSB of the 3-bit binary code.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–17 Basic dual-slope ADC.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–18 Illustration of dual-slope conversion.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–19 Successive-approximation ADC.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–20 Illustration of the successive-approximation conversion process.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–21 The ADC0804 analog-to-digital converter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–22 A simplified illustration of sigma-delta analog-to-digital conversion.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–23 Partial functional block diagram of a sigma-delta ADC.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–24 One type of sigma-delta ADC.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–25 A method for testing ADCs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–26 Illustrations of analog-to-digital conversion errors.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–27

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–28 The DSP has a digital input and produces a digital output.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–29 Simplified block diagram of a digital cellular phone.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–30 Many DSPs use the Harvard architecture (two memories).

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–31 General block diagram of the TMS320C6000 series DSP.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–32 The four fetch phases of the pipeline operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–33 The two decode phases of the pipeline operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–34 The five execute phases of pipeline operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–35 A 352-pin BGA package.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–36 A 4-bit DAC with binary-weighted inputs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–37

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–38 Output of the DAC in Figure 13–37.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–39 An R/2R ladder DAC.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–40 Analysis of the R/2R ladder DAC.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–41 Basic test setup for a DAC.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–42 Illustrations of several digital-to-analog conversion errors.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–43

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–44 The reconstruction filter smooths the output of the DAC.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–45

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–46

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–47

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–48

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–49

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–50

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–51

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–52

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–53

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 13–54

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–1 Example of VCC and ground connection and distribution in an IC package. Other pin connections are omitted for simplicity.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–2 Input and output logic levels for CMOS.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–3 Input and output logic levels for TTL.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–4 Illustration of the effects of input noise on gate operation.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–5 Illustration of noise margins. Values are for 5 V CMOS, but the principle applies to any logic family.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–6 Currents from the dc supply. Conventional current direction is shown. Electron flow notation is opposite.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–7 Power-versus-frequency curves for TTL and CMOS.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–8 A basic illustration of propagation delay time.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–9 Propagation delay times.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–10 Loading a gate output with gate inputs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–11 Capacitive loading of a CMOS gate.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–12 Basic illustration of current sourcing and current sinking in logic gates.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–13 HIGH-state TTL loading.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–14 LOW-stage TTL loading.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–15 Basic symbols and switching action of MOSFETs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–16 Simplified MOSFET symbol.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–17 A CMOS inverter circuit.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–18 Operation of a CMOS inverter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–19 A CMOS NAND gate circuit.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–20 A CMOS NOR gate circuit.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–21 Open-drain CMOS gates.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–22 The three states of a tristate circuit.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–23 A tristate CMOS inverter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–24 Handling unused CMOS inputs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–25 The symbol for a BJT.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–26 The ideal switching action of the BJT. Conventional current direction is shown. Electron flow notation is opposite.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–27 A standard TTL inverter circuit.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–28 Operation of a TTL inverter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–29 A TTL NAND gate circuit.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–30 Diode equivalent of a TTL multiple-emitter transistor.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–31 TTL inverter with open-collector output.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–32 Open-collector symbol in an inverter.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–33 Basic tristate inverter circuit.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–34 An equivalent circuit for the tristate output in the high-Z state.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–35 Schottky TTL NAND gate.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–36 Current sinking and sourcing action in TTL.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–37 A wired-AND configuration of four inverters.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–38 Open-collector wired negative-AND operation with inverters.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–39

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–40

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–41 Totem-pole outputs wired together. Such a connection may cause excessive current through Q1 of device A and Q2 of
device B and should never be used.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–42 Some applications of open-collector drivers.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–43

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–44 Comparison of an open TTL input and a HIGH-level input.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–45 Methods for handling unused TTL inputs.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–46 An ECL OR/NOR gate circuit.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–47 Basic PMOS gate.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–48 Two NMOS gates.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–49 An E2CMOS cell.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–50

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–51

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–52

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–53

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–54

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–55

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–56

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–57

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–58

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–59

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–60

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–61

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–62

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure 14–63

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure B–1 Interface circuit used with model traffic lights. One circuit drives one light.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure B–1 (continued) Interface circuit used with model traffic lights. One circuit drives one light.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure B–2 Interface circuit used with actual traffic lights. One circuit drives one light.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.
Figure B–2 (continued) Interface circuit used with actual traffic lights. One circuit drives one light.

Copyright ©2006 by Pearson Education, Inc.


Thomas L. Floyd
Upper Saddle River, New Jersey 07458
Digital Fundamentals, 9e All rights reserved.

Potrebbero piacerti anche