aboutsummaryrefslogtreecommitdiff
path: root/src/tb
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2018-04-03 12:59:12 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2018-04-03 12:59:12 +0200
commit41286ea5bde7d73154f98ddd4e06d5c6a8115129 (patch)
tree4523935a9c7370d782f0bf7671633514223ce12b /src/tb
parent00f002c478e718d8bc6a71d148816820a8e65fc7 (diff)
Connected all dangling dut ports in the core testbench. Fixed RTL code that caused event loop in Icarus. Does not change functionality.
Diffstat (limited to 'src/tb')
-rw-r--r--src/tb/tb_sha512_core.v21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/tb/tb_sha512_core.v b/src/tb/tb_sha512_core.v
index 8aeaa33..0a56b6f 100644
--- a/src/tb/tb_sha512_core.v
+++ b/src/tb/tb_sha512_core.v
@@ -86,10 +86,31 @@ module tb_sha512_core();
.next(tb_next),
.mode(tb_mode),
+ .work_factor(1'b0),
+ .work_factor_num(32'h0),
+
.block(tb_block),
.ready(tb_ready),
+ .state_wr_data(32'h0),
+ .state00_we(1'b0),
+ .state01_we(1'b0),
+ .state02_we(1'b0),
+ .state03_we(1'b0),
+ .state04_we(1'b0),
+ .state05_we(1'b0),
+ .state06_we(1'b0),
+ .state07_we(1'b0),
+ .state08_we(1'b0),
+ .state09_we(1'b0),
+ .state10_we(1'b0),
+ .state11_we(1'b0),
+ .state12_we(1'b0),
+ .state13_we(1'b0),
+ .state14_we(1'b0),
+ .state15_we(1'b0),
+
.digest(tb_digest),
.digest_valid(tb_digest_valid)
);