Forum Discussion
Hi @cagxel,
Thank you for posting in Intel community forum, hope all is well and apologies for the delayed in response.
Noted on the example design mention, just to clarify, which quartus version and simulator tool have you installed? Also which hardware that you are trying to simulate on?
And it is correct to say that you are able to successfully build and compile the simulation flow, but running the simulation sample it is not providing the correct result?
If possible could you also share the output result for us to check further?
Hope to hear from you soon.
Best Wishes
BB
- cagxel10 months ago
New Contributor
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.
- Jessica_Intel10 months ago
New Contributor
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