Difference between T-flip flop and clocked SR latch

  • Thread starter Thread starter Bipolarity
  • Start date Start date
  • Tags Tags
    Difference Sr
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
Bipolarity
Messages
773
Reaction score
2
Precisely what is the difference between the (clocked) T flip flop and clocked SR latch? I have looked at the logic diagrams for both, but am wondering about functionality differences between the two. How do they differ in their functional use?

All help is appreciated. Thanks!

BiP
 
Engineering news on Phys.org
They have different functions. The output of a flip-flop is flipped if the input is 1 when it's clocked (i.e. if the output is 0, the next output will be 1 and vice verse). If the input is 0 then the output of the T flop doesn't change. The SR works differently. If S is set the output is 1, if R is set the output is 0 and if neither is set the output doesn't change.
 
OK thans, so better question:
What's the difference between an SR latch and a clocked SR latch?

BiP
 
When it's clocked it can only change state when the clock is high. When the clock is low it can't change.

Your next question should be: what's the difference between a latch and a flip-flop (since you're using them interchangeably).

A latch can change state whenever the clock is high.

A flip-flop only changes state on a clock edge (either rising or falling, depending on how it's built)
 
Thanks!
How does the design of a latch differ from that of a flip flop? It seems for a latch, each input need merely be ANDED with a system clock, which when active allows the latch to change states.

But it seems designing a flip flop would not be so easy, since you want the output to change only on the edge of a clock cycle.

BiP
 
There are several ways. The simplest way is called the "Master Slave" structure where you have a latch driven by clock in series with a latch driven by the inverted clock. Check out the wikipedia page for "flip flop" for more information.