summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2017-01-08 15:09:38 -0600
committerBobby Bingham <koorogi@koorogi.info>2017-01-08 22:02:28 -0600
commitf8d09347a43ddab462d94f716e0a6f249e2e6635 (patch)
treece5d447fd0fd88d691b8a22a0b448e20e1bce508 /Makefile
parent2a67798b81aa3e43e7f3c474acd3b470d942d227 (diff)
Move ALU test cases to external testcase file
This makes is a little easier to create new ALU testcases and to quickly read and understand the existing testcases. Additionally, the test bench itself can now report when a test fails, rather than requiring inspection on the waveform (though the waveform is still available).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 12b015b..55be36b 100644
--- a/Makefile
+++ b/Makefile
@@ -24,8 +24,8 @@ clean:
.SECONDEXPANSION:
pc := %
-%_tb.sim: %_tb.v %.v $$(patsubst $$(pc),$$(pc).v,$$(DEPS-$$*))
- $(IV) $(IVFLAGS) -o $@ $^
+%_tb.sim: %_tb.v %.v testbench.vh $$(patsubst $$(pc),$$(pc).v,$$(DEPS-$$*))
+ $(IV) $(IVFLAGS) -o $@ $(filter-out %.vh,$^)
.PHONY: all simulate clean
.SECONDARY: