What is the difference between latch and flip-flop?

Status
Not open for further replies.

deh_fuhrer

Full Member level 5
Joined
Jul 25, 2006
Messages
276
Helped
46
Reputation
92
Reaction score
18
Trophy points
1,298
Activity points
2,862
What is the difference between latch and flip-flop?
I have read somewhere in this board that latch is level trigerred and flip-flop is edge trigerred but the S-R master slave flip-flop is level trigerred.
Could somebody please clear my doubt.
Thanks,
Bye
 

Re: LATCH VS FLIP_FLOP

Latch is asynchronous but the flip-flop can't be asynchronous.
 

    deh_fuhrer

    Points: 2
    Helpful Answer Positive Rating
Re: LATCH VS FLIP_FLOP

What about flip-flop with asynchronous reset?
 

Re: LATCH VS FLIP_FLOP

The simplest latch has 2 inputs, say A and B. If A=1 and B=0 then when A returns to 0 the latch remembers A. And vice versa with B. So in this sense the latch is level triggered, meaning that as soon as the data (A for example) reaches a 1 level the latch switches state (assuming A starts at 0 ). So the output of the latch changes when data changes so as USAID said it is asynchronous meaning it does not change with the clock.

Flip-Flops use a clock in addition to data inputs. The output only changes on the edge of the clock - i.e. the data input is 'sampled'. Since the output only changes on a clock edge, it is said to be synchronous. The advantage of a synchonous system is that the movement of data through the system can be controlled with the clock.

Resets for flip-flops can be asynchronous meaning that they will reset the flip-flop regardless of the state of the clock. These resets are usually reserved for startup and not used during normal operation.
 

    deh_fuhrer

    Points: 2
    Helpful Answer Positive Rating
LATCH VS FLIP_FLOP

the output of the latch changes when there is a change in the input (enable is high), whereas a flip-flop does not change even when there is a change in the input(clock is high)
 

    deh_fuhrer

    Points: 2
    Helpful Answer Positive Rating
Re: LATCH VS FLIP_FLOP

Hi,
Latches are Level sensitive devices and Flip Flops are Edge sensitive devices

Thanks
Shaikh Sarfraz
 

Re: LATCH VS FLIP_FLOP

the reset in the FF can be asynchronous
but the FF operation itself is synchronous with the clock input
the latch operation is asynchronous...no clock at all...it's according to the inputs changes
 

Re: LATCH VS FLIP_FLOP

I don't know if an RS Flipflop is really a flipflop, although subsequent transitions on the last active input ( R or S ) are ignored. You could say that a RSFF is edge sensitive without being synchronous. :?:
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…