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

  • Thread starter Thread starter DiamondV
  • Start date Start date
  • Tags Tags
    Digital Logic
AI Thread Summary
The discussion focuses on understanding digital logic latches, specifically RS, gated, and D latches. Key points include that latches remember previous inputs unless overridden, with the reset condition taking precedence over set in certain scenarios. The enable input in gated latches is crucial for determining when the circuit should remember inputs, as it effectively controls the latch's behavior. Timing diagrams are explained as visual representations of how logic behaves under various inputs, indicating whether the circuit is edge-triggered and helping to understand propagation delays. Overall, the conversation emphasizes the importance of grasping these concepts for better comprehension of digital logic circuits.
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 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 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!
 
Thread 'Have I solved this structural engineering equation correctly?'
Hi all, I have a structural engineering book from 1979. I am trying to follow it as best as I can. I have come to a formula that calculates the rotations in radians at the rigid joint that requires an iterative procedure. This equation comes in the form of: $$ x_i = \frac {Q_ih_i + Q_{i+1}h_{i+1}}{4K} + \frac {C}{K}x_{i-1} + \frac {C}{K}x_{i+1} $$ Where: ## Q ## is the horizontal storey shear ## h ## is the storey height ## K = (6G_i + C_i + C_{i+1}) ## ## G = \frac {I_g}{h} ## ## C...

Similar threads

Back
Top