You are on page 1of 3

b)

The state transition table for JK flip flop is shown below.


Present state
An
Bn
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1

Input
X
0
1
0
1
0
1
0
1

Next state
An+1
B n+1
1
1
0
1
0
0
1
0
0
1
1
1
1
0
0
0

Flip flop inputs


JA
KA
JB
1
X
1
0
X
1
0
X
X
1
X
X
X
1
1
X
0
1
X
0
X
X
1
X

State transition diagram:


The state diagram is common for both D-flip flop and JK flip flop.

K-Map:

Logic Diagram:

Z
KB
X
X
1
1
X
X
1
1

1
1
1
1
1
1
1
1

a)
The state transition table for D flip flop is shown below.
Present state

Input

Next state

An
0
0
0
0
1
1
1
1

X
0
1
0
1
0
1
0
1

An+1
1
0
0
1
0
1
1
0

K-Map:

Logic Diagram:

Bn
0
0
1
1
0
0
1
1

B n+1
1
1
0
0
1
1
0
0

Flip Flop
inputs
DA DB
1
1
0
1
0
0
1
0
0
1
1
1
1
0
0
0

Z
1
1
1
1
1
1
1
1

You might also like