ucb-bar / riscv-sodor

educational microarchitectures for risc-v isa
Other
688 stars 155 forks source link

Reports or tracing summary #41

Open yanyh15 opened 6 years ago

yanyh15 commented 6 years ago

Before that, I can see a tracing summary of the emulation as follows. But now, those summary info are not there anymore. I thought "make reports" would produce something similar, it failed too. I am running sodor on Ubuntu 16.04. Do you have solution for that, for example, change some emulation flag or fix of script for "make reports"?

Thank you

-bash-4.1$ tail -n 16 output/vvadd.riscv.out

#----------- Tracer Data -----------
#
#      CPI   : 1.27
#      IPC   : 0.79
#      cycles: 3426
#
#      Bubbles     : 20.957 %
#      Nop instr   : 0.000 %
#      Arith instr : 37.916 %
#      Ld/St instr : 30.385 %
#      branch instr: 9.982 %
#      misc instr  : 0.759 %
#-----------------------------------

*** PASSED ***
-bash-4.1$

make reports errors:

.....
de/output/rv32ui-p-lh.out emulator/rv32_ucode/output/rv32ui-p-fence_i.out emulator/rv32_ucode/output/rv32ui-p-bne.out emulator/rv32_ucode/output/towers.riscv.out > test-results.xml
grep CPI emulator/rv32_1stage/output/*.out
Makefile:83: recipe for target 'rv32_1stage-report-cpi' failed
make: [rv32_1stage-report-cpi] Error 1 (ignored)
grep CPI emulator/rv32_2stage/output/*.out
Makefile:83: recipe for target 'rv32_2stage-report-cpi' failed
make: [rv32_2stage-report-cpi] Error 1 (ignored)
grep CPI emulator/rv32_3stage/output/*.out
.....