EE 201: Latchtes and fl ip- fl ops Steven Bell 12 February 2019 By - - PowerPoint PPT Presentation

ee 201 latchtes and fl ip fl ops
SMART_READER_LITE
LIVE PREVIEW

EE 201: Latchtes and fl ip- fl ops Steven Bell 12 February 2019 By - - PowerPoint PPT Presentation

EE 201: Latchtes and fl ip- fl ops Steven Bell 12 February 2019 By the end of class today, you should be able to: Compare and contrast an SR latch , D latch , and D fl ip- fl op Given a circuit containing a latch or fl ip- fl op, draw a timing


slide-1
SLIDE 1

EE 201: Latchtes and flip-flops

Steven Bell 12 February 2019

slide-2
SLIDE 2

By the end of class today, you should be able to:

Given a circuit containing a latch or flip-flop, draw a timing diagram to illustrate how and when the output changes. Compare and contrast an SR latch, D latch, and D flip-flop Sketch the general strucutre of a sequential circuit Explain why flip-flops are often preferred over latches for sequential circuit design.

slide-3
SLIDE 3

A circuit that counts

slide-4
SLIDE 4

S R Q Q

NOR NOR

This circuit is stable

slide-5
SLIDE 5

S R Q Q

NOR NOR

S R Q Q

NOR NOR

S R Q Q

NOR NOR

When S goes high, the output (Q-bar) goes low. This causes the other output (Q) to go high.

slide-6
SLIDE 6

S R Q Q

NOR NOR

S R Q Q

NOR NOR

S R Q Q

NOR NOR

S R Q Q

NOR NOR

Now S goes back low, but Q remains high. Magic!

slide-7
SLIDE 7

S R Q Q

NOR NOR

Now, what happens when R goes high?

slide-8
SLIDE 8

S R Q Q

NOR NOR

S R Q Q

NOR NOR

S R Q Q

NOR NOR

When R goes high, Q goes low. And then Q-bar goes high, making things stable again.

slide-9
SLIDE 9

S R Q Q

NOR NOR

S R Q Q

NOR NOR

S R Q Q

NOR NOR

S R Q Q

NOR NOR

Now when R goes low, the state is remembered.

slide-10
SLIDE 10

S R Q Q

NOR NOR

What happens when we start?

slide-11
SLIDE 11

S R Q Q

NOR NOR

S R Q Q

NOR NOR

S R Q Q

NOR NOR

slide-12
SLIDE 12
slide-13
SLIDE 13

D latch

slide-14
SLIDE 14

D flip-flop

slide-15
SLIDE 15

The sequential abstraction

We use only flip-flops All flip-flops are driven by a single clock

slide-16
SLIDE 16

Comparison

slide-17
SLIDE 17

Practice time

http://172.104.217.120:8000/

slide-18
SLIDE 18
  • 1. Read the book (4.4-4.5, 5.4) and complete the pre-class quiz

For Thursday

  • 2. Complete the online homework problems and submit via provide