summaryrefslogtreecommitdiff
path: root/alu_tb.v
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2017-01-08 14:31:29 -0600
committerBobby Bingham <koorogi@koorogi.info>2017-01-08 22:02:28 -0600
commit06089575a8624e6080094a02758dbf724b2fe819 (patch)
tree255815bdc0d3c92e25d792cb9d3658d806a0ea29 /alu_tb.v
parentf8d09347a43ddab462d94f716e0a6f249e2e6635 (diff)
Define macro to simplify dumping of waves
Diffstat (limited to 'alu_tb.v')
-rw-r--r--alu_tb.v3
1 files changed, 1 insertions, 2 deletions
diff --git a/alu_tb.v b/alu_tb.v
index 8342e6c..7418ea3 100644
--- a/alu_tb.v
+++ b/alu_tb.v
@@ -16,8 +16,7 @@ module alu_tb ();
integer file, r;
initial begin
- $dumpfile("alu_tb.vcd");
- $dumpvars(0, alu_tb);
+ `DUMPWAVE(alu_tb)
file = $fopenr("tests/alu");