diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2017-01-07 15:27:20 -0600 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2017-01-08 22:02:28 -0600 |
commit | 735258adcb9a61bb7e60b4fe5d31fd5add1a0e13 (patch) | |
tree | e2fa586042d577ed764fcfdb3634185f7c476b08 /regFile_tb.v | |
parent | 050efe85e0f5a0ee97962461cc8e617c53f770bf (diff) |
Make simulations in icarus verilog useful
Diffstat (limited to 'regFile_tb.v')
-rw-r--r-- | regFile_tb.v | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/regFile_tb.v b/regFile_tb.v index 59c2edd..0df3e48 100644 --- a/regFile_tb.v +++ b/regFile_tb.v @@ -12,6 +12,9 @@ module regFile_tb (); wire [15:0] dataB; initial begin + $dumpfile("regFile_tb.vcd"); + $dumpvars(0, regFile_tb); + clk = 1'b0; regA = 3'h0; @@ -63,7 +66,7 @@ module regFile_tb (); we = 1'b0; #5 - $stop; + $finish; end always #1 clk = !clk; |