Latchs: They are sensitive to the duration of pulse and
can transfer data until they are switched on. They hold the
last logic at the output if we put it off(bring the strobe
pin to low). They are used as temporary buffers.
FF: They are sensitive to signal change(low to high or
high to low) and not the level. Hence they transfer data
only at that instant and it cannot be changed until next
signal change. Due to this they are used as registers.
latch works without clock signal,but works with a control
signal and it is level triggered device.
whereas flip flop is a 1 bit storage element and works with
a clock signal.its a edge triggered device.
normally latches are avoided and flip flops are preferred.
The difference between a latch and a flip-flop is that a
latch does not have a clock signal, whereas a flip-flop
Latches are Level sensitive where as Flip-flops are Edge
Latch is an asynchronous device and does not need to be
synchronized with a clock input. It may have an enable
(low or high) and the latch will store the input to the
latch when the enable is in its active state.
Flip-flop is synchronous and will change states in synch
with a clock on either the low-high edge or high-low edge
of the clock, depending if the flip-flop is positive or
negative edge triggered.