JK and D flip flops, which one to choose?

Thread Starter

1233

Joined Dec 26, 2009
10
Hello,

1) what is the difference between D and JK flip flops? both of them are used to store one bit, so how can I choose which one to use for a certain application?
 
Last edited:

Papabravo

Joined Feb 24, 2006
21,225
The D Flip-Flop captures the data on the D-input at the rising edge of the clock and propagates it to the Q an Q-Bar outputs.

The JK is more flexible. At the clock edge it can SET, CLEAR, HOLD, or TOGGLE. Since it hat 2 inputs labeled J and K it can do four things instead of two for the D-Flip-Flop (SET and CLEAR)
 

Papabravo

Joined Feb 24, 2006
21,225
Doing a long synchronous counter is much easier with a JK
Doing state machines can reduce the need for external logic
Doing registers in an ALU is easier with a JK
 
Top