Confused on Gate Delays, what would the wave form look like?

Click For Summary

Discussion Overview

The discussion centers on interpreting waveforms in VHDL related to the behavior of a nand-nand gate with specific input values and gate delays. Participants explore how changes in inputs affect the output waveform, considering the implications of gate delays in their analysis.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant describes a scenario with two nand gates and initial input values of 0, 1, and 0, later changing to 1, 1, 1, questioning the expected output waveform given a gate delay of 1ns.
  • Another participant suggests eliminating options based on the initial conditions and considering delay time in relation to the remaining choices.
  • A different participant asserts that the output y should always be 1, expressing confusion over the waveform options presented.
  • One participant challenges the assumption that y will always be 1, suggesting that the timing diagram should account for all inputs and noting that setup time may affect the results.
  • Concerns are raised about potential discrepancies between expected results and actual behavior in simulations or real-world circuits due to timing issues.

Areas of Agreement / Disagreement

Participants express differing views on the behavior of the output y, with some asserting it remains constant while others challenge this assumption. The discussion remains unresolved, with multiple competing interpretations of the waveform behavior and the impact of gate delays.

Contextual Notes

Participants note the potential for timing issues and setup time considerations to affect the output, indicating that assumptions made in the problem may not align with practical scenarios.

mr_coffee
Messages
1,613
Reaction score
1
Hello everyone,
I'm lost on how to interpret wave forms in VHDL given a certian logical gate. For example:
If I have 2 nand gates, that look like this:
https://cms.psu.edu/AngelUploads/Content/MRG-060818-113032-mji/_assoc/EB238A71723B494FBF1CC149443E7B49/nand-nand.bmp?1703



And the question is the following:
For a nand-nand gate shown below, if the values of inputs 'a', 'b', and 'c' are originally 0, 1, 0, respectively, and later changed to 1, 1, 1,
which waveform shows the correct behavior of this nand-nand gate (assume each nand gate has a gate delay as 1ns)?

Well if you plug in the intial values a, b, and c the t0 will be 1, and y will also be 1

After 1ns, a, b, and c change, so
y = 1, and t0 = 0


Now none of the waveforms displayed look like the one i drew...
t0 is going to go from 1 to 0 after 1 ns
but the output value y isn't going to change at all, its 1 in both cases, so I would think it would be a straight line...but here are the choices i have:

a: https://cms.psu.edu/AngelUploads/Content/MRG-060818-113032-mji/_assoc/EB238A71723B494FBF1CC149443E7B49/q2-4.bmp?9380

b:
https://cms.psu.edu/AngelUploads/Content/MRG-060818-113032-mji/_assoc/EB238A71723B494FBF1CC149443E7B49/q2-3.bmp?7232

c:
https://cms.psu.edu/AngelUploads/Content/MRG-060818-113032-mji/_assoc/EB238A71723B494FBF1CC149443E7B49/q2-1.bmp?6865

d:
https://cms.psu.edu/AngelUploads/Content/MRG-060818-113032-mji/_assoc/EB238A71723B494FBF1CC149443E7B49/q2-2.bmp?3563

I my drawing looks closest to c or d, but i also noticed c and d are the exact same image arn't they? I'm confused, any help explaining how gate delays affect wave forms would be great or an explanation of what hte answer would be. thank you.
 
Last edited by a moderator:
Physics news on Phys.org
Two of the possible answers look the same.:confused:

You should eliminate the ones that fail based on what you have stated about T0.
Then state your considerations of delay time in relation to the remaining choices.
 
i know a and b are wrong... but c and d are both wrong too, y is never changing, its always 1 that is what is confusing me, perhaps there is an error?
 
Why do you think Y will always be 1?
I would generally disagree with that.
Try doing your timing diagram showing the states of all 4 inputs. Note that T0 is an input and will not change state in sync with inputs a c.

In this problem it looks like any setup time is being ignored. So you might get different results, in a simulator or real world circuit, than the answer expected here. Although, timing issues like this are common and cause a lot of headaches if you're not paying attention.
 

Similar threads

Replies
1
Views
2K
  • · Replies 128 ·
5
Replies
128
Views
35K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K