aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-09-07 17:19:58 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-09-07 17:19:58 +0200
commit85c3a73d3978977a06d679ef5e41eea22fd5ccd7 (patch)
tree95793bfe2254946e8e25894b6a8e289f350eba2f /Makefile
parent726635c6ca0fbea51fb896f3a7199550eb8d5f41 (diff)
downloadAGH-engineering-thesis-85c3a73d3978977a06d679ef5e41eea22fd5ccd7.tar.gz
AGH-engineering-thesis-85c3a73d3978977a06d679ef5e41eea22fd5ccd7.zip
add a wishbone arbiter for 2 masters
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 43e6621..d1e6fdc 100644
--- a/Makefile
+++ b/Makefile
@@ -56,6 +56,7 @@ TESTS := \
embedded_bram_slave \
soc_simple_display \
interface_wrapper \
+ master_arbiter \
$(addprefix stack_machine_old_,$(STACK_MACHINE_OLD_TESTS)) \
$(addprefix stack_machine_,$(STACK_MACHINE_TESTS))
@@ -160,6 +161,16 @@ tests/interface_wrapper/test.vvp : tests/interface_wrapper/operations.mem \
-DMASTER_OPERATIONS_COUNT=$(call FILE_LINES,$<) \
$(filter %.v,$^) -o $@
+tests/master_arbiter/test.vvp : tests/master_arbiter/operations0.mem \
+ tests/master_arbiter/operations1.mem \
+ tests/master_arbiter/test.v models/slave.v models/master.v \
+ design/master_arbiter.v include/messages.vh
+ $(IV) $(IVFLAGS) -s master_arbiter_test \
+ -DMASTER0_OPERATIONS_COUNT=$(call FILE_LINES,$<) \
+ -DMASTER1_OPERATIONS_COUNT=$(call FILE_LINES,\
+ $(filter %1.mem,$^)) \
+ $(filter %.v,$^) -o $@
+
tests/embedded_bram_slave/test.vvp : tests/embedded_bram_slave/operations.mem \
tests/embedded_bram_slave/rom.mem \
tests/embedded_bram_slave/test.v models/master.v \