Understanding Digital Logic Latches: RS, Gated, D Latch Timing Explained

  • Thread starter Thread starter DiamondV
  • Start date Start date
  • Tags Tags
    Digital Logic
Click For Summary

Discussion Overview

The discussion revolves around understanding digital logic latches, specifically RS, Gated, and D latches, focusing on their timing, truth tables, and operational principles. Participants explore concepts related to latch behavior, input conditions, and timing diagrams.

Discussion Character

  • Homework-related
  • Conceptual clarification
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants inquire whether a latch's response indicates that it retains previous inputs, suggesting that it "remembers" them.
  • There is a question regarding the behavior of the RS latch and Gated latch when both S and R inputs are 1, with some participants stating that this results in Q and Qbar being 0, and others noting that this is an invalid input condition.
  • Participants discuss the role of the Enable (E) input in the Gated latch, with some suggesting it controls whether the latch retains its inputs, while others clarify that if E is 0, the inputs effectively reset to previous values.
  • Timing diagrams are questioned, with some participants seeking clarification on their purpose and whether they merely represent truth tables visually.
  • There are assertions that Reset overrides Set in latches, but questions arise about the implications of this on the outputs Q and Qbar.

Areas of Agreement / Disagreement

Participants express varying levels of understanding regarding the behavior of latches, with some agreeing on certain points while others raise questions or express confusion. The discussion includes both clarifications and challenges to earlier claims, indicating that multiple views and uncertainties remain.

Contextual Notes

Some participants highlight that certain input combinations, such as both S and R being 1, are considered invalid, but the implications of this on latch behavior are not fully resolved. Additionally, the understanding of timing diagrams and their relationship to truth tables is still under exploration.

Who May Find This Useful

This discussion may be useful for students learning about digital logic design, particularly those studying latches and their operational characteristics in a homework context.

DiamondV
Messages
103
Reaction score
0

Homework Statement


So we've started digital logic in lectures and don't seem to understand some things about it. I've searched online but nobody seems to have explained some things.

RS LATCH
62bc75a187.jpg


GATED LATCH
4ace35ef85.png


D LATCH TIMING
4a262dd151.jpg


Q1: Does LATCH response(as in truth tables) just mean that nothing will change?i.e its going to remember previous inputs?

Q2: In reference to the last row of inputs in the truth table for an RS Latch and Gated Latch, S and R are both 1 but the Q and Qbar are 0? Why is that? Should they not be remembering the 1 and 1 new inputs?

Q3: In reference to the Gated Latch, is the E(enable) input only to tell the circuit to remember the inputs of S and R? So the only time the circuit will remember what inputs its given is if the Enable Input is 1 aswell? Whats the actual purpose of it?

Q4: I have no idea what these timing diagrams are supposed to tell me? Are they just a visual representation of a truth table? Whats going on?

Homework Equations

The Attempt at a Solution

 
Physics news on Phys.org
DiamondV said:
Q1: Does LATCH response(as in truth tables) just mean that nothing will change?i.e its going to remember previous inputs?

Ever wonder in a SR latch what the S and the R stand for? Set and Reset. Once I realized that it made a lot more sense!

DiamondV said:
Q2: In reference to the last row of inputs in the truth table for an RS Latch and Gated Latch, S and R are both 1 but the Q and Qbar are 0? Why is that? Should they not be remembering the 1 and 1 new inputs?

Reset overides Set in this case. The only difference with the gated SR Latch is it has an Enable input as well.

DiamondV said:
Q3: In reference to the Gated Latch, is the E(enable) input only to tell the circuit to remember the inputs of S and R? So the only time the circuit will remember what inputs its given is if the Enable Input is 1 aswell? Whats the actual purpose of it?

The inputs to the LATCH become S&E and R&E so if E is 0 what are you inputs? S=0 R=0 so you'll get whatever the previous value was :)

DiamondV said:
Q4: I have no idea what these timing diagrams are supposed to tell me? Are they just a visual representation of a truth table? Whats going on?

A timing diagram shows you how the logic behaves when various inputs are given. From it you can tell things like whether the logic is rising edge or falling edge triggered. As you get into this more it will tell you about delay propogations as well.
 
  • Like
Likes   Reactions: DiamondV
cpscdave said:
Ever wonder in a SR latch what the S and the R stand for? Set and Reset. Once I realized that it made a lot more sense!
Reset overides Set in this case. The only difference with the gated SR Latch is it has an Enable input as well.
The inputs to the LATCH become S&E and R&E so if E is 0 what are you inputs? S=0 R=0 so you'll get whatever the previous value was :)
A timing diagram shows you how the logic behaves when various inputs are given. From it you can tell things like whether the logic is rising edge or falling edge triggered. As you get into this more it will tell you about delay propogations as well.

Q1: So basically. Reset rests all values back to the defaults?(Q default would be 0 and Qbar would be 1?).

Q2: Following from that default logic above, if reset overides set then why is Qbar now 0?
 
Q1) Yup
Q2) It's considered an invalid set of inputs :)
 
  • Like
Likes   Reactions: DiamondV
cpscdave said:
Q1) Yup
Q2) It's considered an invalid set of inputs :)

Awesomee. thanks so much. this cleared up so many things. :)
 
No worries

Check out http://www.cburch.com/logisim/ its a free simulator for digital logic. I found it quite helpful to set up circuits in there and see how they behave. Made it easier for me to wrap my head around things!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 7 ·
Replies
7
Views
8K
Replies
2
Views
2K
Replies
9
Views
3K
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 3 ·
Replies
3
Views
28K
  • · Replies 8 ·
Replies
8
Views
2K