aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5d5405c..b0e8753 100644
--- a/Makefile
+++ b/Makefile
@@ -49,13 +49,14 @@ STACK_MACHINE_TESTS := \
TESTS := \
self \
self_32bit_word \
- slave_dispatcher \
div \
vga \
sram_slave \
embedded_bram_slave \
soc_simple_display \
interface_wrapper \
+ intercon \
+ slave_dispatcher \
master_arbiter \
$(addprefix stack_machine_old_,$(STACK_MACHINE_OLD_TESTS)) \
$(addprefix stack_machine_,$(STACK_MACHINE_TESTS))
@@ -171,6 +172,17 @@ tests/master_arbiter/test.vvp : tests/master_arbiter/operations0.mem \
$(filter %1.mem,$^)) \
$(filter %.v,$^) -o $@
+tests/intercon/test.vvp : tests/intercon/operations0.mem \
+ tests/intercon/operations1.mem tests/intercon/test.v \
+ models/slave.v models/master.v design/intercon.v \
+ design/slave_dispatcher.v design/master_arbiter.v \
+ include/messages.vh
+ $(IV) $(IVFLAGS) -s intercon_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 \