You said in previous video ( signals and variables ) that the signals change after wait statements. So nRst should change after 20 ns and Input should change after 22 ns. I am a bit confused.
The signal values are updated when the program hits the Wait-statement, not when it wakes up from it. In the Signals and Variables video I didn't show the waveform, so you couldn't see this behavior. It is a bit confusing at first, but once you understand it you will see that it all makes sense. If you want to know more you can check out my blog post about delta cycles: vhdlwhiz.com/delta-cycles-explained/
hi I do not simulate I want to lick both the rising and failing edge of the 1 entry How can I do this I'd try if Signal_in'event and Signal_in='1' then i
The "after" keyword also doesn't work in real life. We only use the "wait for" and "after" keywords in testbenches. They are for simulating events that are not part of the device under test. For example, in this testbench, we are using the "after" keyword on line 29 to generate the clock signal. The FPGA has to get this signal through a physical pin, but we can simulate it easily like that.
@@VHDLwhiz I am going to be taking a VHDL/Verilog course at school in September. This series has really boosted my interest in the subject. Thank you for providing this resource.
Then you are basically making one complicated FSM. If you insist on having the two separate FSMs, you have to invent som kind of inter-process signaling scheme to communicate between the two.
You said in previous video ( signals and variables ) that the signals change after wait statements. So nRst should change after 20 ns and Input should change after 22 ns. I am a bit confused.
The signal values are updated when the program hits the Wait-statement, not when it wakes up from it. In the Signals and Variables video I didn't show the waveform, so you couldn't see this behavior.
It is a bit confusing at first, but once you understand it you will see that it all makes sense.
If you want to know more you can check out my blog post about delta cycles:
vhdlwhiz.com/delta-cycles-explained/
love you , plz don't stop making videos like this
Thank you! It's been slow lately because I've been a bit overworked. I will complete this tutorial series at least.
The following is in a sequential process that's triggered by rising edge. What is output3b in decimal after 4 clock cycles. a
hi
I do not simulate I want to lick both the rising and failing edge of the 1 entry How can I do this
I'd try
if Signal_in'event and Signal_in='1' then
i
Thanks alot for this series, i hope next videos come soon.
Thanks! I'm glad you enjoyed it. It won't be long, I'm working on the next blog post and video.
if the "wait" statement in VHDL doesnt work in real life, how does the "after" statement work in real life?
ClockedProcessTB line 29
The "after" keyword also doesn't work in real life. We only use the "wait for" and "after" keywords in testbenches. They are for simulating events that are not part of the device under test. For example, in this testbench, we are using the "after" keyword on line 29 to generate the clock signal. The FPGA has to get this signal through a physical pin, but we can simulate it easily like that.
write a counter
A tip from mathematician You can also write for clockperiod = (1/clockfrequency) you will get the same.
That would be "clockperiod := 1 sec / clockfrequence" because otherwise the result won't be of type "time", and that's a compilation error.
@@VHDLwhiz that what i meant but i wrote it as general expression. Thanks and have a nice day.
@@VHDLwhizi was going to ask if there was a reason to use 1000ms instead of 1s?
That would also work. It's the same.
@@VHDLwhiz I am going to be taking a VHDL/Verilog course at school in September. This series has really boosted my interest in the subject. Thank you for providing this resource.
It's strange to master VHDL and adobe products at the same time
😄😄
Hello haw can i make connection between two fsm ?
Then you are basically making one complicated FSM. If you insist on having the two separate FSMs, you have to invent som kind of inter-process signaling scheme to communicate between the two.
Amazing videos, Thank you so much =D
thank you
thank you