You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to simulate cva6 with spike tandem, however i observe an unexpected behavior when i use spike tandem with the veri-testharness option. More specifically, i have tried to simulate a very simple execution of an assembly file. During the spike tandem simulation i observe that even if the files .log (Verilator Simulation) and tandem.log (spike simulation) work as expected, initially the message info says that the TANDEM YAML report is incomplete meaning that it doesn't print all the necessary information required. Furthermore when i change UVM_VERBOSITY variable to UVM_FULL value (i tried all other options too) or i manually tried to print information about what the core has executed and what the reference model has executed instruction by instruction, the only thing that i get is the c.unimp instruction and all the values of the instruction equal to 0. So my question is even if the problem lies down to the support of UVM in Verilator and so on this is the expected behavior or i am missing something else.
Thanks in advance for your time.
Note :
The configuration of cva6 is for CV32A65X
I have attached all the files that i use to test it as well as the log files. files.zip
The text was updated successfully, but these errors were encountered:
jason23g
added
the
Type:Bug
For bugs in the RTL, Documentation, Verification environment or Tool and Build system
label
Oct 4, 2024
No i am not in simulation timeout, i have not changed any of the other parameters except the environmental variables needed for the spike tandem simulation and the elf program that i use it is really small around 10 assembly instructions.
Spike tandem means that the co-simulation between Spike ( An Instruction Set Simulator ) and Verilator (An RTL Simulator) is lockstep, it checks the result between Spike and Verilator instruction by instruction. Whereas in the normal co-simulation it is just checking the traces of the 2 simulations at the end of them.
Hi @jason23g !
Unfortunately, this a known issue. However there is a fix : change verilator version to a more recent version like ``5.024. You can change the version in the install script in verif/regress/install-verilator.sh`.
You should know that this does not work on all OS which is why it is not merged. Hope it helps !
Is there an existing CVA6 bug for this?
Bug Description
Hello guys,
I am trying to simulate cva6 with spike tandem, however i observe an unexpected behavior when i use spike tandem with the veri-testharness option. More specifically, i have tried to simulate a very simple execution of an assembly file. During the spike tandem simulation i observe that even if the files .log (Verilator Simulation) and tandem.log (spike simulation) work as expected, initially the message info says that the TANDEM YAML report is incomplete meaning that it doesn't print all the necessary information required. Furthermore when i change UVM_VERBOSITY variable to UVM_FULL value (i tried all other options too) or i manually tried to print information about what the core has executed and what the reference model has executed instruction by instruction, the only thing that i get is the c.unimp instruction and all the values of the instruction equal to 0. So my question is even if the problem lies down to the support of UVM in Verilator and so on this is the expected behavior or i am missing something else.
Thanks in advance for your time.
Note :
files.zip
The text was updated successfully, but these errors were encountered: