Difference between T-flip flop and clocked SR latch

  • Thread starter Thread starter Bipolarity
  • Start date Start date
  • Tags Tags
    Difference Sr
Click For Summary

Discussion Overview

The discussion focuses on the differences between T flip-flops and clocked SR latches, as well as the distinctions between SR latches and clocked SR latches. Participants explore the functionality and design aspects of these digital components, including their operational characteristics and timing behavior.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • Some participants note that T flip-flops change their output state based on the input when clocked, while SR latches operate differently, with specific states determined by the S and R inputs.
  • There is a question raised about the difference between an SR latch and a clocked SR latch, with a participant suggesting that a clocked SR latch only changes state when the clock is high.
  • One participant explains that a latch can change state whenever the clock is high, whereas a flip-flop changes state on a clock edge, indicating a fundamental difference in their operation.
  • A participant mentions that the design of a latch is simpler than that of a flip-flop, suggesting that latches can be designed by ANDing inputs with a clock signal, while flip-flops require more complex designs to ensure output changes only on clock edges.
  • Another participant introduces the "Master Slave" structure as a common design for flip-flops, which involves using two latches driven by the clock and its inverse.

Areas of Agreement / Disagreement

Participants generally agree on the basic functional differences between T flip-flops and clocked SR latches, as well as the distinctions between latches and flip-flops. However, there are nuances in the explanations and design considerations that remain open for further discussion.

Contextual Notes

Some assumptions about clock behavior and input conditions may not be fully explored, and the discussion does not resolve the complexities involved in the design of flip-flops versus latches.

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.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
5K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 28 ·
Replies
28
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
31K
Replies
37
Views
7K