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

In summary, the conversation discusses interpreting wave forms in VHDL and a specific example involving nand gates. The question is which waveform correctly represents the behavior of a nand-nand gate with specific inputs and a gate delay of 1ns. The conversation includes a discussion of possible answers and considerations for delay time. The conversation also addresses potential errors in the problem and the importance of paying attention to timing issues.
  • #1
mr_coffee
1,629
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
  • #2
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.
 
  • #3
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?
 
  • #4
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.
 

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

1. What is the purpose of gate delays in a circuit?

Gate delays are used to synchronize the signals in a circuit. They ensure that the signals arrive at the appropriate time and prevent any overlapping or conflicting signals that could lead to errors.

2. How do gate delays affect the wave form?

Gate delays can cause a delay in the rise or fall of a signal, resulting in a longer or shorter pulse. This delay can also cause a distortion in the wave form, making it appear jagged or uneven.

3. Can gate delays be adjusted?

Yes, gate delays can be adjusted by changing the length of the delay or by using different types of gate delay circuits. This allows for customization to meet the specific needs of a circuit.

4. What factors can affect gate delays?

The type of gate delay circuit used, the length of the delay, and external factors such as temperature and voltage can all affect gate delays. Signal interference or noise can also impact the accuracy of the delay.

5. How can I determine the wave form with different gate delays?

The wave form with different gate delays can be determined by using simulation software or by measuring the signal with an oscilloscope. By adjusting the delay and observing the resulting wave form, you can see the impact of gate delays on the signal.

Back
Top