aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-09-05 17:58:56 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-09-05 17:58:56 +0200
commit2c528314ebe29a1c94b6c03fd1b0e2668ee25dff (patch)
tree834eba7d51db338f7ebd898b49039b15ffa5d477 /Makefile
parent9c0a347262ad5aa8564570ac672450b3e46c8570 (diff)
downloadAGH-engineering-thesis-2c528314ebe29a1c94b6c03fd1b0e2668ee25dff.tar.gz
AGH-engineering-thesis-2c528314ebe29a1c94b6c03fd1b0e2668ee25dff.zip
add div instruction together with bench
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index dfeb4f9..c7ab240 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,8 @@ STACK_MACHINE_TESTS := \
tee \
swap \
add \
- sub
+ sub \
+ div
# Add other tests here if You need
TESTS := \
@@ -168,7 +169,7 @@ tests/stack_machine_%/test.vvp : \
tests/stack_machine_%/words_to_verify.mem \
tests/stack_machine_%/instructions.mem \
tests/stack_machine_%/test.v models/slave.v \
- design/stack_machine.v include/messages.vh
+ design/stack_machine.v design/div.v include/messages.vh
$(IV) $(IVFLAGS) -s stack_machine_test \
-DINSTRUCTIONS_COUNT=$(call FILE_LINES,$(filter %ions.mem,$^)) \
-DWORDS_TO_VERIFY_COUNT=$(call FILE_LINES,$<) \