0
\$\begingroup\$

I read the answer here Difference between latch and flip-flop? which says that the only difference is flip flops need clock and the output of latches don't depend on clock.

I am reading Morris Mano book on digital logic which clearly says that " latches are level sensitive devices or level triggered and flip flops are edge triggered devices" which means latches also depend on clock.

Now which one is correct? Can someone please explain it clearly?

\$\endgroup\$
1
  • \$\begingroup\$ My experience is that latches have an enable signal. When the enable signal is inactive the data input signals are ignored. When the enable signal is active the data inputs flow continuously through the device (sometimes called transparent) and are responded to immediately until the enable goes inactive again. \$\endgroup\$ Sep 11, 2017 at 16:35

1 Answer 1

2
\$\begingroup\$

A sequential element is called a flip flop if it is edge triggered. There must hence be an input to the flip flop that on transitioning 'triggers' it to evaluate the output. In other words, a flip-flop is an element that maps the inputs to the outputs at an instant when there is a level transition of this 'triggering' signal. If this triggering must occur periodically, a clock is connected to this input.

Similarly, a sequential element is called a latch if it is level triggered. There may hence be an input to the latch which on being in a certain level 'triggers' it to evaluate the output (Or, you could forego designing it with such a signal and it would still be called a latch). A latch hence is 'enabled' when this triggering input is at a certain level. It would be more appropriate to see this signal as an enable signal than as a clock. This is because a clock is a signal that is used to identify specific instants of time at its edges.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.