tree: 4f0df00f10204f26de94a5b8d89b161c87287d97 [path history] [tgz]
  1. top_earlgrey/
  2. BUILD
  3. BUILD.coremark.bazel
  4. README.md
  5. repos.bzl
  6. use_ottf_main.patch
third_party/coremark/README.md

title: “CoreMark Benchmark”

Running CoreMark

To build and run CoreMark on the CW310:

bazel test --test_tag_filters=cw310 \
//third_party/coremark/top_earlgrey:coremark_test

To build and run CoreMark on Verilator:

bazel test --test_tag_filters=verilator \
//third_party/coremark/top_earlgrey:coremark_test

CoreMark Options

The BUILD file is hardcoded to give a PERFORMANCE_RUN with TOTAL_DATA_SIZE=2000. These settings are required for reportable CoreMark figures. If you wish to use other options, please modify third_party/coremark/top_earlgrey/BUILD appropriately. See the CoreMark README for further information on the possibilities.