mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			40 lines
		
	
	
		
			858 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			858 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
# 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
 | 
						|
 | 
						|
.PHONY: all riscof testfloat combined_IF_vectors zsbl benchmarks coremark embench coverage clean
 | 
						|
 | 
						|
all: riscof	testfloat combined_IF_vectors zsbl coverage # benchmarks
 | 
						|
 | 
						|
# riscof builds the riscv-arch-test and wally-riscv-arch-test suites
 | 
						|
riscof:
 | 
						|
	$(MAKE) -C sim
 | 
						|
 | 
						|
testfloat:
 | 
						|
	$(MAKE) -C ${WALLY}/tests/fp vectors
 | 
						|
 | 
						|
combined_IF_vectors: testfloat riscof
 | 
						|
	$(MAKE) -C ${WALLY}/tests/fp combined_IF_vectors
 | 
						|
 | 
						|
zsbl:
 | 
						|
	$(MAKE) -C ${WALLY}/fpga/zsbl
 | 
						|
 | 
						|
benchmarks:
 | 
						|
	$(MAKE) coremark
 | 
						|
	$(MAKE) embench
 | 
						|
 | 
						|
coremark:
 | 
						|
	cd ${WALLY}/benchmarks/coremark; $(MAKE); $(MAKE) run
 | 
						|
 | 
						|
embench:
 | 
						|
	cd ${WALLY}/benchmarks/embench; $(MAKE); $(MAKE) run
 | 
						|
 | 
						|
coverage:
 | 
						|
	$(MAKE) -C tests/coverage
 | 
						|
 | 
						|
clean:
 | 
						|
	$(MAKE) clean -C sim
 | 
						|
	$(MAKE) clean -C ${WALLY}/tests/fp
 |