Need clarification on Gate Delays & Diagrams

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

This discussion clarifies the concepts of gate delays and timing diagrams in digital circuits, specifically focusing on the propagation delays associated with logic gates. The participants emphasize that changes in output do not occur instantaneously; for example, a change in input X at 10ns results in a change in output Z at 20ns, followed by a change in output Y at 25ns. The correct approach to drawing timing diagrams involves understanding that outputs retain their states until inputs change, necessitating accurate representation of delays in the diagram.

PREREQUISITES
  • Understanding of digital logic gates and their functions
  • Familiarity with timing diagrams and signal propagation
  • Knowledge of delay characteristics in logic circuits
  • Ability to interpret and create timing diagrams for logic circuits
NEXT STEPS
  • Study the timing characteristics of specific logic gates, such as AND, OR, and NOT gates
  • Learn about the concept of setup and hold times in digital circuits
  • Explore simulation tools like Logisim or Multisim for visualizing timing diagrams
  • Research advanced topics in digital circuit design, including clock skew and race conditions
USEFUL FOR

Students of electrical engineering, digital circuit designers, and anyone involved in the analysis and design of timing diagrams in logic circuits will benefit from this discussion.

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
5K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K