Tuesday, April 9, 2019

Latch and FlipFlop

A latch and Flip flop both are sequential circuits and the they both differ in:
                             
                                    A latch is an level triggered circuit which means the behavior of the circuit changes during the complete positive/negative level of the trigger (i.e during clock pulse high/low level) whereas in a Flip flop the behavior of the circuit changes only at one edge of the clock pulse that may be either at the rising edge or falling edge.
A negative edge triggered flip flop is constructed with 2 level triggered latches connecting them in MASTER-SLAVE configuration. so, a Flip flop is basically built by the combination of Latches. 
In a latch the output changes whenever the input changes during the active clock as it is a level triggered, in case of flip flop it is varied only during the positive edge/negative edge of the clock pulse this makes the Flip flop more advantageous than a Latch.