WeiCheng14159 / riscv-coremark

Setup scripts and files needed to compile CoreMark on RISC-V

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Setup scripts and files needed to compile CoreMark on RISC-V

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C 87.9%Language:Makefile 8.2%Language:Assembly 3.7%Language:Shell 0.2%