Forum Discussion
Hello @BoonBengT_Altera ,
Thanks for your reply.
I am using Quartus Prime, OneAPI version 24.2 and Questa 24.1. I was able to successfully compile and run the simulation as well as emulation, only problem is empty signals are not visible/created on the simulation and values are wrong when I run the executable.
For the emulation, you can see that it prints empty as the same values of "i" as it was assigned on line 96.
However, same code prints constant 0 with simulation.
As you can see, empty signal is not available on waveforms.
I am also including sim.prj file as attachement, please let me know if you need anything else.
Hi @cagxel ,
There is no need for an empty signal, because the data width (8-bit char, defined on line 19 of your code) is equal to the bits_per_symbol (also 8, defined on line 27).
Please refer to the Avalon spec here: https://www.intel.com/content/www/us/en/docs/programmable/683091/22-3/signal-details-78878.html
"The size of the empty signal in bits is ceil[log2(<symbols per cycle>)]."
I hope this helps explain the behavior you're seeing.
Jessica