Top Banner
D Flip-Flop 1
13
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Trts d flip flop1

D Flip-Flop

1

Page 2: Trts d flip flop1

2

Means that the data in and out the same intervention required.

Used as a storage box for one

Page 3: Trts d flip flop1

D Flip-flop D flip-flop: single input D (data)

D=HIGH a SET state D=LOW a RESET state

Q follows D at the clock edge.

Convert S-R flip-flop into a D flip-flop: add an inverter.

D Flip-flop 3

A positive edge-triggered D flip-flop formed with an S-R flip-flop.

SCR

Q

Q'

CLK

D D CLK Q(t+1) Comments

1 1 Set

0 0 Reset

= clock transition LOW to HIGH

Page 4: Trts d flip flop1

Use in the design to make D Flip flop NAND gate.

Circuit of D flip flop

4

Page 5: Trts d flip flop1

D Flip-Flop: Example Timing

5

Q

D

CLK

Q=D=1 Q=D=1Q=D=0 Q=D=1No Change

Q=D=0No Change

Q=D=0No Change

Q=D=0

Page 6: Trts d flip flop1

POS & NEG Edge Triggered D

6

QCLK

D Q

D CLK

0 0 1

1 1 0

: Rising Edge of Clock

QQ

D CLK

0 0 1

1 1 0

: Falling Edge of Clock

QQ

QCLK

D Q

Positive Edge Trigger

Negative Edge Trigger

Page 7: Trts d flip flop1

Example :

How to connect two D flip flop

7

Page 8: Trts d flip flop1

Ring counters are implemented using shift registers. It is essentially a

circulating shift register connected so that the last flip-flop shifts its value into

the first flip-flop. There is usually only a single 1 circulating in the register, as

long as clock pulses are applied. (Starts 1000->0100->0010->0001 repeat)

Ring Counter

8

1000

0001 0010

0100

Clock Q0 Q1 Q2 Q3

0 1 0 0 0 1 0 1 0 0 2 0 0 1 0 3 0 0 0 1

Page 9: Trts d flip flop1

Partner work

9

Page 10: Trts d flip flop1

Partner work Example: Connect )6-bit( the ring counter and complete the schedule ?

10

CLK

Q0D Q D Q D Q D Q D Q D Q

Q1 Q2 Q3 Q4 Q5

Clock Q0 Q1 Q2 Q3 Q4 Q5

0 1 2 3 4 5

Page 11: Trts d flip flop1

Partner work Example: Connect )6-bit( the ring counter and complete the schedule ?

11

CLK

Q0D Q D Q D Q D Q D Q D Q

Q1 Q2 Q3 Q4 Q5

Clock Q0 Q1 Q2 Q3 Q4 Q5

0 1 0 0 0 0 0 1 0 1 0 0 0 0 2 0 0 1 0 0 0 3 0 0 0 1 0 0 4 0 0 0 0 1 0 5 0 0 0 0 0 1

100000

010000

001000

000100

000010

000001

Page 12: Trts d flip flop1

Summary

12

Page 13: Trts d flip flop1

Questions

13

Thank you for lesson