cvw/Makefile

51 lines
1.2 KiB
Makefile
Raw Permalink 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
2024-09-30 00:24:24 +00:00
MAKEFLAGS += --output-sync --no-print-directory
SIM = ${WALLY}/sim
2024-11-25 16:12:52 +00:00
.PHONY: all riscof testfloat combined_IF_vectors zsbl benchmarks coremark embench coverage cvw-arch-verif clean
2024-08-14 06:25:17 +00:00
2024-11-25 16:12:52 +00:00
all: riscof testfloat combined_IF_vectors zsbl coverage cvw-arch-verif # 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:
$(MAKE) -C ${WALLY}/tests/fp vectors
combined_IF_vectors: testfloat riscof
$(MAKE) -C ${WALLY}/tests/fp combined_IF_vectors
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-16 02:01:34 +00:00
cd ${WALLY}/benchmarks/coremark; $(MAKE); $(MAKE) run
2023-06-09 16:37:09 +00:00
embench:
2024-08-16 02:01:34 +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
2024-11-25 16:12:52 +00:00
cvw-arch-verif:
$(MAKE) -C ${WALLY}/addins/cvw-arch-verif
2024-12-19 22:09:42 +00:00
# Requires a license for the Breker tool. See tests/breker/README.md for details
breker:
$(MAKE) -C ${WALLY}/testbench/trek_files
$(MAKE) -C ${WALLY}/tests/breker
2022-01-20 14:17:26 +00:00
clean:
2024-08-14 06:25:17 +00:00
$(MAKE) clean -C sim
$(MAKE) clean -C ${WALLY}/tests/fp
2024-11-25 16:12:52 +00:00
$(MAKE) clean -C ${WALLY}/addins/cvw-arch-verif