Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Thread Tools Display Modes
Old 8th August 2007, 07:35 PM   (permalink)
Default latch and flip flop

I wonder if somebody tells me the difference b/w a flip flop and latct.
I have read some of the books and one of them states that basic difference b/w the two is of clock signal.
But in other book i've seen the topic like S-R latch but in other it is S-R flip flop.One has the topic named CLOCKED S-R LATCH and some have clocked S-R flip flop.
Doesn't this imply that we may have a clocked latch and will still say it a latch
Badar is offline  
Reply With Quote
Old 8th August 2007, 11:08 PM   (permalink)
Default

If I remember right, a flip-flop output is always "latched" and on the signal on the rising edge of the clock the output gets latched to the new input and never really becomes transparent. While a latch can becomes transparent when the clock is low, and latches when the clock goes high (level-triggered not edged triggered). You could also call the clock a control signal. Doesn't have to periodic.

Basically,
FF = edge-triggered, never transparent
Latch = level-triggered, can be transparent

Both have a control signal which may or may not be a clock. I never really understood this until after my digital logic course, heh.

Last edited by dknguyen; 8th August 2007 at 11:14 PM.
dknguyen is online now  
Reply With Quote
Old 9th August 2007, 01:38 AM   (permalink)
Default

A latch is simply a storage element. Any flip flop can act as a single bit storge element, however a simple latch cannot perform all the functions that a flip flop can, like as a divide by 2 element.

Triggering, edge or level, leading or training edge or both edges as in a J-K FF, is specific to a given IC design and does not define the circuit as a latch or a FF.

Lefty
Leftyretro is offline  
Reply With Quote
Old 9th August 2007, 12:00 PM   (permalink)
Default

Yes, the terms (latch and FF) are not exact. there are several kinds of FFs and latches. Look at the datasheet of the specific device you are considering.
philba is offline  
Reply With Quote
Old 27th August 2007, 07:34 PM   (permalink)
Default

I had to continue this topic again cuz after sufficient reading i still find my self without a conclusion about the concept of latch and Flip Flops.
Here are some references that i think are contradicting.

Digital Fundamentals 7th edition by FLOYD (page 394)
"The latch is a type of temporaray storage device that has two stable states (bistable) and is normally placed in a category separate from that of flip flops.Latches are basically similar to flip flops because they are bistable devices that can reside in either of two states using a feedback arrangement,in which the outputs are coneected back to the opposite inputs.The main difference between latches and flip flops is in the method used for changing their state."

Digital electronics Principles and Applications by ROGER L. TOKHEIM (page 217) states the R-S latch and R-S Flip Flop the same thing.

And while googling and reading some other material i found that the main difference b/w both of them is of clock signal.i.e a flip flop without a clock input is a latch.

Another book states SCR as a type of latch when i was reading SCR's

Now i conclude from all these contradicting statements that latching is a phenomenon which all flip flops exhibit.But the flip flops which have only one function (i.e latching) are called latches.
Or the flip flops which have such an arrangement that one output is directly given to opposite input as a feedback is called a latch.

Now i wanna confirm this conclusion.What you people say about that.
Badar is offline  
Reply With Quote
Old 27th August 2007, 09:00 PM   (permalink)
Default

Quote:
Originally Posted by Badar
I had to continue this topic again cuz after sufficient reading i still find my self without a conclusion about the concept of latch and Flip Flops.
Here are some references that i think are contradicting.

Digital Fundamentals 7th edition by FLOYD (page 394)
"The latch is a type of temporaray storage device that has two stable states (bistable) and is normally placed in a category separate from that of flip flops.Latches are basically similar to flip flops because they are bistable devices that can reside in either of two states using a feedback arrangement,in which the outputs are coneected back to the opposite inputs.The main difference between latches and flip flops is in the method used for changing their state."

Digital electronics Principles and Applications by ROGER L. TOKHEIM (page 217) states the R-S latch and R-S Flip Flop the same thing.

And while googling and reading some other material i found that the main difference b/w both of them is of clock signal.i.e a flip flop without a clock input is a latch.

Another book states SCR as a type of latch when i was reading SCR's

Now i conclude from all these contradicting statements that latching is a phenomenon which all flip flops exhibit.But the flip flops which have only one function (i.e latching) are called latches.
Or the flip flops which have such an arrangement that one output is directly given to opposite input as a feedback is called a latch.

Now i wanna confirm this conclusion.What you people say about that.

Well as the prior poster stated, it's better to just study the data sheets for various specific flip/flop devices then it is to try to come up with universal statements about this family of devices, at least in my opinion

Lefty
Leftyretro is offline  
Reply With Quote
Old 27th August 2007, 09:11 PM   (permalink)
Default

Quote:
Originally Posted by Leftyretro
Well as the prior poster stated, it's better to just study the data sheets for various specific flip/flop devices then it is to try to come up with universal statements about this family of devices, at least in my opinion

Lefty
I m trying to find the exact answer of this just because you can say it's my viva question.And i don't wanna be beaten this time
Badar is offline  
Reply With Quote
Old 27th August 2007, 09:59 PM   (permalink)
Default

Quote:
Originally Posted by dknguyen
If I remember right, a flip-flop output is always "latched" and on the signal on the rising edge of the clock the output gets latched to the new input and never really becomes transparent. While a latch can becomes transparent when the clock is low, and latches when the clock goes high (level-triggered not edged triggered). You could also call the clock a control signal. Doesn't have to periodic.

Basically,
FF = edge-triggered, never transparent
Latch = level-triggered, can be transparent
I looked this up in my databooks a few years ago. You are correct Mr Nguyen. The only difference between a quad D FF and a quad D latch is that the FF is edge triggered. The datasheets are identical except for clock specs.

Unfortunately I forgot the exact 4000 series part numbers.
Bob Scott is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
One shot switch using flip flop Obmar Electronic Projects Design/Ideas/Reviews 1 4th August 2007 05:52 PM
latch and flipflop vencatesh General Electronics Chat 4 29th May 2007 06:50 AM
4013 Toshiba flip flop jbelectric777 Electronic Projects Design/Ideas/Reviews 12 26th March 2007 03:12 PM
Bistable Flip Flop (Change Over Cct) Gayan Soyza General Electronics Chat 8 10th January 2007 08:47 PM
24V Latch Circuit for Momentary Switch mtaylor Electronic Projects Design/Ideas/Reviews 16 1st July 2006 01:00 AM



All times are GMT. The time now is 06:17 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.