aboutsummaryrefslogtreecommitdiff
path: root/src/tb
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2018-07-06 09:47:05 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2018-07-06 09:47:05 +0200
commit694ff57dc365f0b51eaea0afc1a808d3f3f6f28c (patch)
tree4586a0bdee27ec660f45b2531803e5b53bcffca1 /src/tb
parentf4ac53ac5e0885021fa7ae40f72a61846682ce41 (diff)
(1) Fixed dump of core_addr in testbench to actually show the core_addr. Fixed boundaries for the block counter. Now we don't read mem out of bounds.
Diffstat (limited to 'src/tb')
-rw-r--r--src/tb/tb_keywrap.v3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tb/tb_keywrap.v b/src/tb/tb_keywrap.v
index 0b9eda3..a13521c 100644
--- a/src/tb/tb_keywrap.v
+++ b/src/tb/tb_keywrap.v
@@ -269,7 +269,7 @@ module tb_keywrap();
$display("a_reg = 0x%0x a_new = 0x%0x a_we = 0x%0x",
dut.core.a_reg, dut.core.a_new, dut.core.a_we);
$display("core_we = 0x%0x core_addr = 0x%0x",
- dut.core.core_we, dut.core.block_ctr_reg);
+ dut.core.core_we, dut.core.core_addr);
$display("core_rd_data = 0x%0x core_wr_data = 0x%0x ",
dut.core.core_rd_data, dut.core.core_wr_data);
$display("");
@@ -292,6 +292,7 @@ module tb_keywrap();
end
$display("");
+ $display("");
end
endtask // dump_dut_state