summaryrefslogtreecommitdiff
path: root/shifter_tb.v
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2017-01-07 15:27:20 -0600
committerBobby Bingham <koorogi@koorogi.info>2017-01-08 22:02:28 -0600
commit735258adcb9a61bb7e60b4fe5d31fd5add1a0e13 (patch)
treee2fa586042d577ed764fcfdb3634185f7c476b08 /shifter_tb.v
parent050efe85e0f5a0ee97962461cc8e617c53f770bf (diff)
Make simulations in icarus verilog useful
Diffstat (limited to 'shifter_tb.v')
-rw-r--r--shifter_tb.v5
1 files changed, 4 insertions, 1 deletions
diff --git a/shifter_tb.v b/shifter_tb.v
index 278ac9a..f586d02 100644
--- a/shifter_tb.v
+++ b/shifter_tb.v
@@ -11,6 +11,9 @@ module shifter_tb ();
// xxxxxxxxxxxxxxxx1111101000001010xxxxxxxxxxxxxxxx
initial begin
+ $dumpfile("shifter_tb.vcd");
+ $dumpvars(0, shifter_tb);
+
v = 16'hFA0A;
by = 16'h0;
dir = 1'b0;
@@ -87,7 +90,7 @@ module shifter_tb ();
expected_result = 16'h0000;
#5
- $stop;
+ $finish;
end
shifter shifter_inst (