aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b0e8753..081a20e 100644
--- a/Makefile
+++ b/Makefile
@@ -55,6 +55,7 @@ TESTS := \
embedded_bram_slave \
soc_simple_display \
interface_wrapper \
+ wrapped_stack_machine_cond_jump \
intercon \
slave_dispatcher \
master_arbiter \
@@ -209,6 +210,17 @@ tests/stack_machine_%/test.vvp : \
-DWORDS_TO_VERIFY_COUNT=$(call FILE_LINES,$<) \
$(filter %.v,$^) -o $@
+tests/wrapped_stack_machine_%/test.vvp : \
+ tests/wrapped_stack_machine_%/words_to_verify.mem \
+ tests/wrapped_stack_machine_%/instructions.mem \
+ tests/wrapped_stack_machine_%/test.v models/slave.v \
+ design/wrapped_stack_machine.v design/stack_machine.v \
+ design/interface_wrapper.v design/div.v include/messages.vh
+ $(IV) $(IVFLAGS) -s wrapped_stack_machine_test \
+ -DINSTRUCTIONS_COUNT=$(call FILE_LINES,$(filter %ions.mem,$^)) \
+ -DWORDS_TO_VERIFY_COUNT=$(call FILE_LINES,$<) \
+ $(filter %.v,$^) -o $@
+
tests/stack_machine_old_%/test.vvp : \
tests/stack_machine_old_%/words_to_verify.mem \
tests/stack_machine_old_%/instructions.mem \