- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
This is for Quartus Prime Standard and Questa Sim (both licensed).
Under the test bench, the instantiated UUT should be present. As I'm a novice I puzzled over what I was doing wrong. However, I started a scratch project using a tutorial and got the same results (YouTube, Rania Hussein, Tutorial). Aside from making syntax adjustments to use Verilog instead of System Verilog, I should have the identical results.
Question - why is the UUT (and therefore the variables in it) not present?
thank you.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
When you generate a simulation script for an IP or an example design, it does.
Enlace copiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Any screenshots? Code? Hard to figure out what's going on here without seeing anything you've done.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Thank you.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
You say "compiles without issues," but do you mean in Quartus or in Questa? vsim only starts the simulator. You have to first compile your code in the Questa GUI or with the vlog command. You can generate a simulation script in Quartus that does this (Tools menu).
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Quartus completes the compile. I attached a copy of the entire log but the final line is:
Info (293000): Quartus Prime Full Compilation was successful. 0 errors, 18 warnings
In Questa, here is a fresh RTL Sim called from Quartus. I attached the log file showing the tb was compiled.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Successful compilation in Quartus doesn't really matter for a simulation though it's still good to know it compiles successfully.
Now that you've compiled in Questa and started the simulation, you have to add waveforms to the Wave view and then actually advance the simulation (run command).
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Yes, I understand. But I expect the DUT to be listed between fullAdder_testbench and #INITIAL#18. I would select the DUT and the Objects would be listed, ready to be dragged into the Wave window. However, no DUT is present.
Here is a screenshot of the YouTube tutorial. Note that unlike my project, the DUT is present.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
In Questa, you have to add the +acc option so the command is
vsim work.fullAdder_testbench -voptargs=+acc
In the GUI, this is
This is a change from Modelsim where this wasn't necessary.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I found this option. It looks slightly different than yours. But when I change to Apply full... The OK box is grayed out. I also looked inside Quartus to see if there is an option to pass this to the simulator but couldn't find anything applicable.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
No, after compiling, do Simulate menu -> Start Simulation and click Simulation Options. You also have to select the top-level design unit on the Design tab there.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Ah. That worked! But why doesn't Quartus have an option to pass this option directly to Questa?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
When you generate a simulation script for an IP or an example design, it does.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Thank you very much!
Jeff

- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla