gemmini icon indicating copy to clipboard operation
gemmini copied to clipboard

where can i find the simulation logs?

Open hust-gaoyujing opened this issue 3 years ago • 2 comments

After finishing the simulation(run-verilator.sh) ,where can i find the simulation logs that record the results of simulation and the counters of SOC? Or whether it have simulation logs?

hust-gaoyujing avatar May 18 '22 05:05 hust-gaoyujing

We discuss this a little bit in our IISWC tutorial. (We will also have a new, more up-to-date tutorial up in a few months).

You can spit out results from the SoC counters by using printf as in this example program. The results will be printed onto your screen as you run run-verilator.sh.

If you want to use Firesim counters (which won't appear on an SoC that you tapeout), then make sure to set this config parameter to true on your Firesim instance. You will also need to enable Firesim's "printf synthesis" and "AutoCounter" features as described in the links.

Afterwards, you should be able to see the Firesim counter and printf results under firesim/deploy/results-workload in your manager instance.

Let me know if you have any questions about any of that!

hngenc avatar May 26 '22 06:05 hngenc

Thanks.You explained it very well.

hust-gaoyujing avatar May 26 '22 07:05 hust-gaoyujing