aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index f0b42de..2ebc598 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ MACROASM_FLAGS := -Iinclude/ -E
# It made sense to just list all of those in this variable
# and then prepend stack_machine_ to each element
-STACK_MACHINE_TESTS := \
+STACK_MACHINE_OLD_TESTS := \
store \
load_store \
multiinstructions_load_store \
@@ -41,7 +41,7 @@ TESTS := \
sram_slave \
embedded_bram_slave \
soc_simple_display \
- $(addprefix stack_machine_,$(STACK_MACHINE_TESTS))
+ $(addprefix stack_machine_old_,$(STACK_MACHINE_OLD_TESTS))
# For each of these Makefile will attempt to generate VGAdump.ppm
# and compare it to VGAdump_expected.ppm inside that test's directory
@@ -141,10 +141,11 @@ tests/vga/test.vvp : tests/vga/test.v design/vga.v models/vga_display.v \
include/messages.vh
$(IV) $(IVFLAGS) -s vga_test $^ -o $@
-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 design/div.v include/messages.vh
+tests/stack_machine_old_%/test.vvp : \
+ tests/stack_machine_old_%/words_to_verify.mem \
+ tests/stack_machine_old_%/instructions.mem \
+ tests/stack_machine_old_%/test.v models/slave.v \
+ design/stack_machine_old.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,$<) \