MIT 6.002 Circuits and Electronics, Spring 2007
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
latches are level sensitive and flip flop are edge sensitive Flip flops are edge-triggered devices whereas latches are level triggered devices. latch does not have clock signal whereas flip flop does. Flip flop has two values while latch has only one value.
flip flop: -> it work's on the basis of clock pulses. -> it is a edge trigerred , it mean that the output and the next state input changes when there is a change in clock pulse whether it may a +ve or -ve clock pulse. latch; -> it is based on enable function input -> it is a level trigerred , it mean that the output of present state and input of the next state depends on the level that is binary input 1 or 0.
Correct ali110, ... but not complete.
sorry. It is not correct to say: "Flip flop has two values while latch has only one value". What do you mean. Both have two states and are able to maintain it.
Flipflop- clocked latch. latch is basic building block of a sequential ckt...the memory(stored bit) changes depending up on the input values. In the case of large complicated circuits we cannot afford to change the stored value depending up on variations at the input.so we apply a clock signal. Now the output depends not only on the input but also on clock signal,such clocked latches are called flipflops
rahul91 your response contains something usefull for the smallest and clear sentence which underlines the main difference between flip-flops and latches
The main difference between latches and flip-flops is that for latches, their outputs are constantly affected by their inputs as long as the enable signal is asserted. In other words, when they are enabled, their content changes immediately when their inputs change. Flip-flops, on the other hand, have their content change only either at the rising or falling edge of the enable signal. This enable signal is usually the controlling clock signal. After the rising or falling edge of the clock, the flip-flop content remains constant even if the input changes.
latch uses triggers while flip flops use clock signal
dirtymind say the right, clear thing. In few words: latches are "transparents", flip-flop not.