cvw/Makefile

38 lines
834 B
Makefile
Raw Normal View History

2023-02-04 12:29:27 +00:00
# David_Harris@hmc.edu 2023
# Top-level Makefile for CORE-V-Wally
# SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1
SIM = ${WALLY}/sim
2024-08-14 06:25:17 +00:00
.PHONY: all riscof testfloat zsbl benchmarks coremark embench coverage clean
all: riscof testfloat zsbl coverage # benchmarks
2021-12-21 05:10:14 +00:00
# riscof builds the riscv-arch-test and wally-riscv-arch-test suites
2023-06-09 16:37:09 +00:00
riscof:
2024-08-14 06:25:17 +00:00
$(MAKE) -C sim
2021-11-17 20:17:56 +00:00
2023-06-09 16:37:09 +00:00
testfloat:
2024-08-14 06:25:17 +00:00
$(MAKE) -C ${WALLY}/addins/SoftFloat-3e/build/Linux-x86_64-GCC
$(MAKE) -C ${WALLY}/addins/TestFloat-3e/build/Linux-x86_64-GCC
cd ${WALLY}/tests/fp && ./create_all_vectors.sh
2023-06-09 16:37:09 +00:00
2024-08-09 03:53:40 +00:00
zsbl:
$(MAKE) -C ${WALLY}/fpga/zsbl
2023-06-09 16:37:09 +00:00
benchmarks:
2024-08-14 06:25:17 +00:00
$(MAKE) coremark
$(MAKE) embench
2023-06-09 16:37:09 +00:00
coremark:
2024-08-14 06:25:17 +00:00
cd ${WALLY}/benchmarks/coremark; $(MAKE); #$(MAKE) run
2023-06-09 16:37:09 +00:00
embench:
2024-08-14 06:25:17 +00:00
cd ${WALLY}/benchmarks/embench; $(MAKE); #$(MAKE) run
2023-06-09 16:37:09 +00:00
2024-08-09 04:03:59 +00:00
coverage:
2024-08-14 06:25:17 +00:00
$(MAKE) -C tests/coverage
2023-06-09 16:37:09 +00:00
2022-01-20 14:17:26 +00:00
clean:
2024-08-14 06:25:17 +00:00
$(MAKE) clean -C sim