aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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 \