Top Banner
LATCHES & FLIPFLOPS UNIT-2 Mohammad Asif Iqbal Assistant Professor, Deptt of ECE, JETGI, Barabanki
16

Latches flipflops

Jan 23, 2018

Download

Engineering

Asif Iqbal
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: Latches  flipflops

LATCHES & FLIPFLOPS

UNIT-2

Mohammad Asif IqbalAssistant Professor, Deptt of ECE,JETGI, Barabanki

Page 2: Latches  flipflops

STORAGE ELEMENTS

Page 3: Latches  flipflops

BEFORE STARTING LET’S RECALL NAND GATE

A B Y

0 0 1

0 1 1

1 0 1

1 1 0

Page 4: Latches  flipflops

BASIC STORAGE ELEMENT

0

1

1

0

1

LATCH

Page 5: Latches  flipflops

FLIP-FLOP

CLOCK

S

R

Q

Q’

=1

=0

0

1

=1

=0

0

0

1

0

0 0 1 0

Page 6: Latches  flipflops

FLIP-FLOP

CLOCK

S

R

Q

Q’

=0

=1

1

0

=0

=1

0

0

0

1

0 0 1 0

0 1 0 1

0 0 0 1

Page 7: Latches  flipflops

FLIP-FLOPINPUT OUTPUT

S R Q Q’

0 0 NO CHANGE

0 1 0 1

1 0 1 0

1 1 ? ?

S

R

CLOCK

Q’

Q SET

RSET

=1

=1

0

0=1

=1INDETERMINANT

CHARACTERISTIC TABLE

Page 8: Latches  flipflops

BLOCK DIAGRAM REPRESENTATION

S

R

Q’

Q

CLOCK

DD Q Q’

0 0 1

1 1 0

Q Q(n+1) D

0 0 1

1 1 0

Q(n) D Q(n+!)

0 0 1

1 1 0

Page 9: Latches  flipflops

D FLIP-FLOPD Q Q’

0 0 1

1 1 0

Q Q(n+1) D

0 0 1

1 1 0

Q(n) D Q(n+!)

0 0 1

1 1 0

CHARACTERISTIC TABLE

TRUTH TABLE

EXCITATION TABLE

Page 10: Latches  flipflops

J K FLIP-FLOP

J

K

CLOCK

Q

Q’

=1

=0

1

0

=1

=1

=1

=0=0

=1 =0

=1

Page 11: Latches  flipflops

WAVE FORM REPRESENTATION

(t)T 2T

CLOCK

Q

0

1

NOW, changes at I/P will affect O/PAny change at I/P

will not effect O/P

0

1

RACE AROUND CONDITION

Page 12: Latches  flipflops

SOLUTION OF RACE AROUND CONDITION

(t)T 2T

CLOCK

Q

0

1

0

1

T F

PROPAGATION DELAY

Page 13: Latches  flipflops

FINAL SOLUTION……

(t)T 2T

CLOCK

Q

0

1

0

1

Page 14: Latches  flipflops

PROBLEMS

Q:- Determine the output of PGTclocked SR flip flop which Qinitially 0 for the given inputwaveforms

QQ’

Q:- Determine the output of PGTclocked SR flip flop which Qinitially 1 for the given inputwaveforms.

Page 15: Latches  flipflops

Master Slave Flip Flop

K

JQ

Q’=0

=10 0 1 1

=1

=1

1

0

=1

=0 =1

=0=0

=1

Page 16: Latches  flipflops

THANK YOU!