Flip flop is a circuit formed by logic gates which has two stable states and thereby is capable of storing one bit of memory either 0 or 1.
It is capable of storing 1 bit of info in digital circuit and is the basic memory unit.
How a one bit memory circuit can be formed?
Using criss-cross combination of logic gates we can store one bit of digital info.
To understand this we first use a combination of not gates and see how we can lock that one bit.
The circuit can be a flip flop or latch only when we can lock the bit based on some inputs. In this case the not gates combination fails. So NAND or NOR can be used.
One bit memory cell using NAND gates.
The above circuit forms the base for all different types of flip flops. We can also use NOR gates in place of NAND gates.
What are registers?
A register is a group of flip flops.
An n-bit register is group of n-flip flops.
These registers are used to hold information and make it available for processing.
The storage capacity depends on the number of flip flops used.