From 06089575a8624e6080094a02758dbf724b2fe819 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Sun, 8 Jan 2017 14:31:29 -0600 Subject: Define macro to simplify dumping of waves --- shifter_tb.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shifter_tb.v') 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; -- cgit v1.2.3