Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
SBT ?= sbt
SBT_FLAGS ?= -Dsbt.log.noformat=true
CC = gcc
CHISEL_FLAGS :=
top_srcdir ?= .
top_file := src/main/scala/Main.scala
executables := $(filter-out top, $(notdir $(basename $(wildcard $(srcdir)/*.scala))))
integration_test_script = test-all.sh
default: emulator
all: verilog
clean:
-rm -f *.h *.hex *.flo *.cpp *.o *.out *.v *.vcd $(executables)
-rm -rf project/target/ target/ verilator integration-tests
verilog:
$(SBT) $(SBT_FLAGS) "verilog $(ACCEL) $(PLATFORM)"
driver:
$(SBT) $(SBT_FLAGS) "driver $(ACCEL) $(PLATFORM)"
emulator:
$(SBT) $(SBT_FLAGS) "emulator $(ACCEL) $(PLATFORM)"
# ----------------------------------------------------------------------------------------------------------------------
# Tests
# ----------------------------------------------------------------------------------------------------------------------
include integration-test.mk
include board-test.mk
unit-test:
$(SBT) $(SBT_FLAGS) test
test: unit-test integration-test board-test
.PHONY: all emulator verilog driver test unit-test
fa5a8d840This file is pinned to the selected release. Download the original to open it in your design tool.