summaryrefslogtreecommitdiff
path: root/shifter_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 /shifter_tb.v
parentf8d09347a43ddab462d94f716e0a6f249e2e6635 (diff)
Define macro to simplify dumping of waves
Diffstat (limited to 'shifter_tb.v')
-rw-r--r--shifter_tb.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/shifter_tb.v b/shifter_tb.v
index f586d02..5e25028 100644
--- a/shifter_tb.v
+++ b/shifter_tb.v
@@ -1,3 +1,4 @@
+`include "testbench.vh"
`timescale 1 ns / 100 ps
module shifter_tb ();
@@ -11,8 +12,7 @@ module shifter_tb ();
// xxxxxxxxxxxxxxxx1111101000001010xxxxxxxxxxxxxxxx
initial begin
- $dumpfile("shifter_tb.vcd");
- $dumpvars(0, shifter_tb);
+ `DUMPWAVE(shifter_tb)
v = 16'hFA0A;
by = 16'h0;