Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

difference between flip flops and latches

what is the difference between flip-flops and latches?

like image 305
Pwn Avatar asked Jun 15 '09 07:06

Pwn


People also ask

Why flip-flop is called latch?

When an input is used to flip one gate (make it go high), the other gate will flop (go low). Hence, "flip flop". A transparent "D" latch uses some gates to convert a "data" input and an "enable" input into RS signals which then drive an RS latch.

Why are flip flops better than latches?

This control unit can be a clock input or an enable input. As we know, latches are level triggered and flip flops are edge-triggered. Flip flops are preferred over latches since latches are more prone to noise and unwanted signals. Latches are prone to glitches.


2 Answers

The Wikipedia article on the flip-flop has a good introduction. In particular, it notes that the distinction in terminology between "flip-flop" and "latch" is a recent distinction.

In digital circuits, a flip-flop is a term referring to an electronic circuit (a bistable multivibrator) that has two stable states and thereby is capable of serving as one bit of memory. Today, the term flip-flop has come to mostly denote non-transparent (clocked or edge-triggered) devices, while the simpler transparent ones are often referred to as latches; however, as this distinction is quite new, the two words are sometimes used interchangeably (see history).

like image 169
Greg Hewgill Avatar answered Sep 19 '22 13:09

Greg Hewgill


An oft-made distinction is that a flip-flop has a clock signal and a latch does not. Note, however, that not all engineers will make such a distinction.

like image 39
Brandon E Taylor Avatar answered Sep 22 '22 13:09

Brandon E Taylor