Basics and Overview of Flip Flops-Revised
Basics and Overview of Flip Flops-Revised
A flip flop is an electronic circuit with two stable states that can be used to
store binary data. The stored data can be changed by applying varying
inputs. Flip-flops and latches are fundamental building blocks of digital
electronics systems used in computers, communications, and many other
types of systems. Flip-flops and latches are used as data storage elements. It
is the basic storage element in sequential logic. But first let’s clarify the
difference between a latch and a flip flop.
SR Flip Flop
There are majorly 4 types of flip flops, with the most common one being SR
flip flop. As shown above, it is the simplest and the easiest to understand.
The two outputs as shown above are the inverse of each other. The outputs
of a SR flip flop are highlighted in the table below.
S R Q Q’
0 0 0 1
0 1 0 1
1 0 1 0
1 1 ∞ ∞
JK Flip-flop
The input condition of J=K=1, gives an output inverting the output state.
However, the outputs are same when one tests the circuit practically.
J K Q Q’
0 0 0 0
0 1 0 0
1 0 0 1
1 1 0 1
0 0 1 1
0 1 1 0
1 0 1 1
1 1 1 0
D Flip Flop
D flip flop is a better alternative that is very popular with digital electronics.
They are commonly used for counters and shift-registers and input
synchronisation.
In a D flip flop, the output can be only changed at the clock edge, and if the
input changes at other times, the output will be unaffected.
Clock D Q Q’
↓»0 0 0 1
↑»1 0 0 1
↓»0 1 0 1
↑»1 1 1 0
The change of state of the output is dependent on the rising edge of the
clock. The output (Q) is same as the input and can only change at the rising
edge of the clock.
T Flip Flop
A T flip flops is like JK flip-flop. These are basically single input version of JK
flip flops. This modified form of JK flip-flop is obtained by connecting both
inputs J and K together. This flip-flop has only one input along with the clock
input.
T Q Q (t+1)
0 0 0
1 1 1
0 1 1
1 1 0
Applications of Flip-Flops
These are the various types of flip-flops being used in digital electronic
circuits and the applications of Flip-flops are as specified below.
Counters
Frequency Dividers
Shift Registers
Storage Registers