aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-09-07 20:20:48 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-09-07 20:20:48 +0200
commit50066f519e9c59544bf3ef440c32109644ebaa9a (patch)
tree16b7ddd507e4a5a2d9c5aa07f2147b86d22b2670 /Makefile
parent28d8e73f293e11ac3d92c1186fd51d155297d10d (diff)
downloadAGH-engineering-thesis-50066f519e9c59544bf3ef440c32109644ebaa9a.tar.gz
AGH-engineering-thesis-50066f519e9c59544bf3ef440c32109644ebaa9a.zip
add wrapped stack machine with bench
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 \