Need clarification on Gate Delays & Diagrams

  • Thread starter Thread starter Aristotle
  • Start date Start date
  • Tags Tags
    Diagrams Gate
Click For Summary

Discussion Overview

The discussion revolves around understanding gate delays and timing diagrams in logic circuits. Participants seek clarification on how to accurately represent timing diagrams based on initial states and the propagation delays of logic gates.

Discussion Character

  • Homework-related
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses confusion about whether to consider time delays or initial states first when drawing timing diagrams.
  • Another participant outlines a sequence of events based on given timing, indicating how changes in input affect outputs over time.
  • A participant describes their current understanding of the timing diagram, noting specific delays for outputs based on input changes.
  • Several participants challenge the inclusion of certain delays in the timing diagram, particularly questioning the timing of changes in Y relative to changes in X and Z.
  • There is a discussion about the duration for which outputs should remain high after a change, with some participants suggesting that outputs should retain their state until inputs change again.
  • One participant seeks clarification on the appropriate representation of timing for output Z, debating between different lengths of time for its high state.
  • A later reply suggests using arrows to indicate delays in the timing diagram, indicating a preference for visual representation of timing relationships.

Areas of Agreement / Disagreement

Participants express differing views on how to accurately represent timing delays in the diagrams, with no consensus reached on the correct approach to drawing the timing for outputs based on the inputs.

Contextual Notes

Participants assume that signals X, Y, and Z have been stable before the changes occur, but there is uncertainty regarding how to depict the timing of these changes accurately in the diagrams.

Aristotle
Messages
169
Reaction score
1

Homework Statement


This is just an example/solution to a timing diagram/gate delay for the circuit of logic gates. I am reading ahead of the chapter on gate delays & time diagrams, however, the book doesn't provide as much information. I am unsure how the solution came about in drawing their timing diagram from scratch, and thought maybe someone could help clarify this to me? Are they simply taking consideration of the time delays FIRST or the initial states FIRST?

delay.JPG
delay2.JPG
.

Homework Equations


n/a

The Attempt at a Solution


I understand that when the input to a logic gate is being changed, its output won't change instantaneously. Also that switching elements within the gate take some amount of time to react to a change in input, so that the change in the gate output is delayed with respect to input change.
 
Physics news on Phys.org
I'm not sure what you don't understand. The initial states and timing of X are given, and you are supposed to draw the states of Y and Z as a consequence of the change in state of X. For example:
(1) X changes at 10ns
(2) 10ns later (at 20ns) Z changes
(3) 5ns later (at 25 ns) Y changes
(4) 10ns later (at 35 ns) Z changes
etc...

What is your question exactly?
 
  • Like
Likes   Reactions: berkeman
Hello Phyzguy,

Yes, I understand the set up for the initial states. Here is what I have so far:
Capture1.JPG


Initially X=0, Y= 1, and the output became 0. So as '0'--the output, makes its way to the inverter, there is a 5ns delay (which I denoted in ORANGE) before actually "inverting" from '0' to '1'. As X and Y makes its way to the and gate, there is also a 10ns which I also denoted in orange. Am I on the right track?

Also in the graph that I've drawn...is it correct or not that I draw a '1' of only length 5ns in the 'Z' row (from 20ns to 25ns) , or must it extend from 20-30ns? That is the part I am confused with, and as continuing with the completion of the graph. Any advice would be appreciated. Thanks!
 
I don't understand why you have the orange line from 10-15 ns in Y. You should assume at the beginning that the signals X,Y,Z have been in their states for a long time and nothing is changing. Then at 10ns, X changes from 0 to 1. This will not cause any immediate change to Y, since Y is not dependent on X, so why do you have an orange line in Y? ? However, after 10ns, the change in X will lead to a change in Z (the orange line and the change in Z at 20ns look correct). If nothing else changes, Z will stay that way forever, not just for 5 ns. However, the change in Z causes a change in Y 5 ns later, and that change in Y causes a change in Z 10 ns later. Does that help?
 
phyzguy said:
I don't understand why you have the orange line from 10-15 ns in Y. You should assume at the beginning that the signals X,Y,Z have been in their states for a long time and nothing is changing.
My thought process at first was that initially when X=0 and Y=1, then Z= 0...after '0' makes its way to the inverter, then you would take consider of the 5ns delay.

phyzguy said:
You should assume at the beginning that the signals X,Y,Z have been in their states for a long time and nothing is changing.
So you're saying that Y should not have a 5ns delay immediately, but until 'Z' changes? I know that X's inputs will determine the change in Z. Sorry I am a little slow trying to visualize the concept. Would it be possible for you to pinpoint what you're trying to say with the graphing diagram solution in the example?

phyzguy said:
Then at 10ns, X changes from 0 to 1.
Yes I understand that part.
 
phyzguy said:
I don't understand why you have the orange line from 10-15 ns in Y. You should assume at the beginning that the signals X,Y,Z have been in their states for a long time and nothing is changing. Then at 10ns, X changes from 0 to 1. This will not cause any immediate change to Y, since Y is not dependent on X, so why do you have an orange line in Y? ? However, after 10ns, the change in X will lead to a change in Z (the orange line and the change in Z at 20ns look correct). If nothing else changes, Z will stay that way forever, not just for 5 ns. However, the change in Z causes a change in Y 5 ns later, and that change in Y causes a change in Z 10 ns later. Does that help?

Okay I thought about what you said..but I still have a question..
If I understand you correctly, as x changes from either 0 to 1 or 1 to 0, then a 10 ns delay is considered for Z. As for when Z changes from 0 to 1, or 1 to 0, then a 5ns is considered for Y.

So INITIALLY, I see that X=0, Y=1, and Z= 0.
Then I see that X changes from 0 to 1. Okay so that means we will consider a 10ns delay for Z. Y remains unchanged.

Next, when Z's output becomes 1, Z changes, so then there will BE a 5ns DELAY, correct so far?...X remains unchanged--still '1'. so we DONT take consider of a 10ns delay.

My question is about drawing the graphs...

which one is appropriate, the first or second? I am confused on whether drawing only a '5ns line' on row Z or a '10 ns line'.

1.JPG


2.JPG
 
Aristotle said:
My question is about drawing the graphs...
which one is appropriate, the first or second? I am confused on whether drawing only a '5ns line' on row Z or a '10 ns line'.

Well, neither one is correct. You should draw a 15ns line for Z. After Z transitions high, it will stay high until 10ns after one of the inputs to the AND gate changes again. X will not change until much later, so when will Y change? Y will change 5ns after Z changes. So Z will stay high for 15 ns. I think what you are missing is that, while it takes 10ns for a change to propagate through the AND gate, after the output has changed, the output will retain its state indefinitely until one of the inputs changes again. It doesn't just go high for 10 ns and then go back where it was.
 
What phyzguy said. I prefer to draw arrows on the drawing to show the delays..

2.JPG
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
5K
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
6K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K