What is the exact difference between a latch & a flipflop?

Question Detail: From what I have understood :

  1. A Flip Flop is a clocked latch i.e. flip flop = latch + clock
  2. Latch continuously checks for inputs & changes the output whenever there is a change in input
  3. Flip Flop also continuously checks input, but changes the output time determined by clock. [so, even though if inputs are changed, it may not change the output at the same time]
  4. A latch with enable [i.e. gated latch], is different from that of clocked latch.

I am reading from Digital Logic by Morris Mano & Wikipedia.

Asked By : avi
Best Answer from StackOverflow

Question Source : http://cs.stackexchange.com/questions/11090

Answered By : Ran G.

As far as I understand, the difference is indeed the clock/enable. A flip-flop samples the inputs only at a clock event (rising edge, etc.) A Latch samples the inputs continuously whenever it is enabled, that is, only when the enable signal is on. (or otherwise, it would be a wire, not a latch).

Leave a Reply