conversion of flip flop

13
CONVERSION OF FLIP FLOP Batch:B3 PREPRED BY:- (1)Panchal manthan- 140123109008 (2)Panchal jay- 140123109007 (3) Patel nikunj- Guided by:- Prof. shweta khakhakhar

Upload: vishalgohel12195

Post on 05-Aug-2015

79 views

Category:

Engineering


4 download

TRANSCRIPT

Page 1: Conversion of flip flop

CONVERSION OF FLIP FLOP

Batch:B3 PREPRED BY:- (1)Panchal manthan-140123109008 (2)Panchal jay-140123109007 (3) Patel nikunj-140123109010

Guided by:- Prof. shweta khakhakhar

Page 2: Conversion of flip flop

INTRODUCTION

Basic info. of conversion SR FF to T FF conversion SR FF to JK conversion

Page 3: Conversion of flip flop

CONVERSION OF FLIP FLOPS

The conversion from one type of flip flop to the other (say SS FF to JK FF) needs a systematic approach using the excitation tables and K map simplifications.

Given flip-flop

Flip-flopConversion logic(Combinational circuit)

General model used to convert one type of FF to the other

{Flip-flopData inputs

}Outputs

Required Flip-Flop

Q

Q_

Page 4: Conversion of flip flop

Fig. shows a generalized model for conversion from one flip flop to the other.

As shown in fig. the required flip flop is actually a combination of the given flip flop and a combinational logic circuit using gates.

Such a combinational is called as the flip flop conversion logic.

The input to FF conversion logic are the flip flop data inputs and the outputs of given flip flop.

Page 5: Conversion of flip flop

The conversion logic is designed by combining the excitation tables of both the flip flop i.e. the given FF and the desired FF.

The truth table of the conversion logic has data inputs and Q and Q outputs of the given FF as inputs whereas the inputs of the given FF are the outputs of the truth table.

Then we draw the K map for each output and obtain the simplified expressions.

The conversion logic is then implemented using gates.

_

Page 6: Conversion of flip flop

SR FLIP FLOP TO T FLIP FLOP

Step 1 : Write the truth table :-

Outputs

Inputs T S RPresent state QnNext state Qn+1

0

0

0

0

0

0

0

0

0

0

1

1

1

1

1

1

1

1

×

×

Truth table for SR FF to T FF

Page 7: Conversion of flip flop

Step 2 : Write the K maps and obtain the expressions for S and R :-

Qn

QnT T

××

0

0 0

0

0

0

0

0

11

1

1

1

1

S= T Qn

R= T Qn_

For S output

For R output

(a) K map for S

(b) K map for R

Page 8: Conversion of flip flop

Step 3 : Draw the logic diagram :- The logic diagram is shown in fig.

T flip flop

}Outputs

Conversion from SR flip flop to T flip flop

SR FF

Page 9: Conversion of flip flop

SR FLIP FLOP TO JK FLIP FLOP

Inputs Outputs

J K Present state Qn

Next state Qn+1

S R

0 0 0

0 0 ×

0 1 0 0 0 ×

1 0 0 1 1 0

1 1 0 1 1 0

0 1 1 0 0 1

1 1 1 0 0 1

0 0 1 1 × 0

1 0 1 1 × 0

Page 10: Conversion of flip flop

Step 2 : K maps and simplification :-

Qn

KJ 00 01 11 10

0

1

0 0

0

0

1 1

×

×

_S= J Qn

(a) K map for S

(b) K map for R

For S output

For R output

Qn

KJ 00 01 11 10

×

1

0 1

10 0

0

0

R= K Qn

×

Page 11: Conversion of flip flop

Step 3 : Logic diagram :- The logic diagram of SR to JK flip flop is given in fig.

SR to JK flip flop conversion

CLK

}Outputs

J

K

S Q

R Q_

Conversion logic

JK flip flop

SR FF

Page 12: Conversion of flip flop

www.brighthubengineering.com

BOOK :- J.S.Katre

Page 13: Conversion of flip flop