34
Floyd Floyd Digital Fundamentals, 9/e Digital Fundamentals, 9/e Copyright ©2006 by Pearson Copyright ©2006 by Pearson Education, Inc. Education, Inc. Upper Saddle River, New Jersey Upper Saddle River, New Jersey 07458 07458 All rights reserved. All rights reserved. Slide 1 Digital Fundamentals Digital Fundamentals CHAPTER 7 CHAPTER 7 Latches, Flip-Flops and Timers Latches, Flip-Flops and Timers

Floyd Digital Fundamentals, 9/e Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved. Slide 1 Digital Fundamentals

Embed Size (px)

Citation preview

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 1

Digital FundamentalsDigital Fundamentals

CHAPTER 7CHAPTER 7Latches, Flip-Flops and TimersLatches, Flip-Flops and Timers

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 2

Latches Latches

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 3

LatchesLatches

• S-R (Set-Reset) latchS-R (Set-Reset) latch

• Gated S-R latchGated S-R latch

• Gated D latchGated D latch

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 4

LatchesLatches

• S-R latchS-R latch

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 5

LatchesLatches

• S-R latchS-R latch

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 6

LatchesLatches

• Gated S-R latchGated S-R latch

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 7

LatchesLatches

• Gated D latchGated D latch

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 8

Edge-Triggered Flip-Flops Edge-Triggered Flip-Flops

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 9

Edge-Triggered Flip-FlopsEdge-Triggered Flip-Flops

• Edge-triggered S-R flip-flopEdge-triggered S-R flip-flop

• Edge-triggered D flip-flopEdge-triggered D flip-flop

• Edge-triggered J-K flip-flopEdge-triggered J-K flip-flop

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 10

Edge-Triggered Flip-FlopsEdge-Triggered Flip-Flops

• Edge-triggered S-R flip-flopEdge-triggered S-R flip-flop

WaveformsWaveforms

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 11

Edge-Triggered Flip-FlopsEdge-Triggered Flip-Flops

• Edge-triggered Edge-triggered S-R flip-flopS-R flip-flop

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 12

Edge-Triggered Flip-FlopsEdge-Triggered Flip-Flops

• Edge-triggered D flip-flopEdge-triggered D flip-flop

WaveformsWaveforms

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 13

Edge-Triggered Flip-FlopsEdge-Triggered Flip-Flops

• Edge-triggered D flip-flopEdge-triggered D flip-flop

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 14

Edge-Triggered Flip-FlopsEdge-Triggered Flip-Flops

• Edge-triggered J-K flip-flopEdge-triggered J-K flip-flop

WaveformsWaveforms

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 15

Edge-Triggered Flip-FlopsEdge-Triggered Flip-Flops

• Edge-triggered J-K flip-flopEdge-triggered J-K flip-flop

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 16

Flip-Flop Operating Characteristics Flip-Flop Operating Characteristics

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 17

Flip-Flop Operating CharacteristicsFlip-Flop Operating Characteristics

• Propagation delay timesPropagation delay times

• Set-up timeSet-up time

• Hold timeHold time

• Maximum clock frequencyMaximum clock frequency

• Pulse widthsPulse widths

• Power dissipationPower dissipation

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 18

Flip-Flop Applications Flip-Flop Applications

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 19

Flip-Flop ApplicationsFlip-Flop Applications

• Parallel data storageParallel data storage

• Frequency divisionFrequency division

• CountingCounting

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 20

Flip-Flop ApplicationsFlip-Flop Applications

• Parallel data storageParallel data storage

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 21

Flip-Flop ApplicationsFlip-Flop Applications

• Frequency divisionFrequency division

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 22

Flip-Flop ApplicationsFlip-Flop Applications

• CountingCounting

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 23

One-Shots One-Shots

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 24

One-ShotsOne-Shots

• Nonretriggerable one-shotNonretriggerable one-shot

• Regriggerable one-shotRegriggerable one-shot

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 25

One-ShotsOne-Shots

• Nonretriggerable one-shotNonretriggerable one-shot

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 26

One-ShotsOne-Shots

• Nonretriggerable one-shotNonretriggerable one-shot

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 27

One-ShotsOne-Shots

• Regriggerable one-shotRegriggerable one-shot

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 28

One-ShotsOne-Shots

• Regriggerable one-shotRegriggerable one-shot

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 29

The 555 Timer The 555 Timer

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 30

The 555 TimerThe 555 Timer

• Monostable (one-shot) operationMonostable (one-shot) operation• Astable operationAstable operation

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 31

The 555 TimerThe 555 Timer

• Monostable (one-shot) operationMonostable (one-shot) operation

ttww=1.1R=1.1R11CC11

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 32

The 555 TimerThe 555 Timer

• Astable operationAstable operation

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 33

CPLD Macrocells (Altera or Xilinx) CPLD Macrocells (Altera or Xilinx)

FloydFloydDigital Fundamentals, 9/eDigital Fundamentals, 9/e

Copyright ©2006 by Pearson Education, Inc.Copyright ©2006 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458Upper Saddle River, New Jersey 07458

All rights reserved.All rights reserved.

Slide 34

CPLD Macrocells (Altera or Xilinx)CPLD Macrocells (Altera or Xilinx)

• The Altera MAX 7000 macrocellThe Altera MAX 7000 macrocell

• The Xilinx CoolRunner-II macrocellThe Xilinx CoolRunner-II macrocell