aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-09-02 13:08:11 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-09-02 13:08:11 +0200
commit7d270361edb1e7d0b14f2f79e1c8f7ba48f26ebc (patch)
tree21fe1ae2f4b401d8d869ed43a663ac908715043f /Makefile
parent1bb4a2b10154807b44f35b5613ce2c2f6186ec50 (diff)
downloadAGH-engineering-thesis-7d270361edb1e7d0b14f2f79e1c8f7ba48f26ebc.tar.gz
AGH-engineering-thesis-7d270361edb1e7d0b14f2f79e1c8f7ba48f26ebc.zip
add bench for wishbone sram wrapper
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b6d4841..6e9d578 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,7 @@ TESTS := \
intercon \
div \
vga \
+ sram_slave \
$(addprefix stack_machine_,$(STACK_MACHINE_TESTS))
# For each of these Makefile will attempt to generate VGAdump.ppm
@@ -74,6 +75,13 @@ tests/self/test.vvp : tests/self/operations.mem tests/self/test.v \
-DMASTER_OPERATIONS_COUNT=$(call FILE_LINES,$<) \
$(filter %.v,$^) -o $@
+tests/sram_slave/test.vvp : tests/sram_slave/operations.mem \
+ tests/sram_slave/test.v models/sram.v models/master.v \
+ design/sram_slave.v include/messages.vh
+ $(IV) $(IVFLAGS) -s sram_slave_test \
+ -DMASTER_OPERATIONS_COUNT=$(call FILE_LINES,$<) \
+ $(filter %.v,$^) -o $@
+
tests/intercon/test.vvp : tests/intercon/operations.mem tests/intercon/test.v \
models/slave.v models/master.v design/intercon.v \
include/messages.vh