Closed Raragyay closed 1 year ago
Thank you for opening the issue.
This is a known problem with Verilator simulation as it does not log simulation timestamps. The Python scripts could be extended to use the cycle count instead of the absolute timestamp as a workaround.
If you could provide such a feature, I would be willing to merge it.
Do you know if there are any known simulators that are able to provide wall time statistics? I saw that Banshee was another tool mentioned but that seemed to lean towards instruction accuracy instead of cycle accuracy. On IIS there seemed to be other tools like Questa too.
Yes, indeed if you have a Questa or VCS license you can use those to get the wall time statistics.
How can one get this license? Is it offered within the Docker installation?
No, these are commercial tools we cannot provide.
I am currently following the tutorial for snitch cluster at https://pulp-platform.github.io/snitch_cluster/ug/tutorial.html and reached the debugging/benchmarking step. However, when trying to analyze the performance, it seems that the
tstart
andtend
metrics are always 0. This value persists from the DASM file to the text, csv, and json results from the other steps for benchmarking.The command I ran:
bin/snitch_cluster.vlt sw/apps/blas/axpy/build/axpy.elf
Resulting files is attached. trace_hart_00000000.dasm.txt hart_00000000_perf.json perf.csv event.csvRunning on docker on Linux, amd64:
Tested running on
Things I tried changing: