cvw/riscv-coremark
2021-06-25 16:42:03 -04:00
..
coremark Fixed Coremark Score output printing. Also made it so that the loop that sets the iteration count increments iterations by 1 instead by increasing it by a factor of 10 each time (which was overkill for the timing that's needed to exit the loop) 2021-06-25 16:27:23 -04:00
riscv64 pushing coremark to main branch 2021-05-11 21:33:39 -04:00
riscv64-baremetal Updated timing functions to read from MTIME register, TICKS_PER_SEC set to 10000 so timer reads millisecs 2021-06-25 16:42:03 -04:00
.gitignore pushing coremark to main branch 2021-05-11 21:33:39 -04:00
.gitmodules pushing coremark to main branch 2021-05-11 21:33:39 -04:00
build-coremark.sh pushing coremark to main branch 2021-05-11 21:33:39 -04:00
LICENSE pushing coremark to main branch 2021-05-11 21:33:39 -04:00
README.md pushing coremark to main branch 2021-05-11 21:33:39 -04:00
trace coremark commit ehedenberg final 2021-05-17 18:02:34 -04:00
transferobjump.sh pushing coremark to main branch 2021-05-11 21:33:39 -04:00

Coremark EEMBC Wrapper

This repository provides the utility files to port CoreMark EEMBC to RISC-V.

Requirements

  • You must have installed the RISC-V tools

Setup

  • git submodule update --init
  • Run the ./build-coremark.sh script that does the following
    • Builds a version of Coremark for Linux or pk (coremark.riscv)
    • Builds a version of Coremark for bare-metal (coremark.bare.riscv)
    • Copies the output binaries into this directory

Default Files

The default files target RV64GC and use minimal amount of compilation flags. Additionally, the *.mak file in the riscv64 folder setups spike pk as the default run rule.

Feel free to change these to suit your needs.