[Cryptech-Commits] [core/hash/sha512] branch clock_speed updated: Changed constant declaraiton to use hex radix. Removed now redundant flag signal assignment.

git at cryptech.is git at cryptech.is
Tue Apr 3 11:02:23 UTC 2018


This is an automated email from the git hooks/post-receive script.

joachim at secworks.se pushed a commit to branch clock_speed
in repository core/hash/sha512.

The following commit(s) were added to refs/heads/clock_speed by this push:
     new 7a2b0f9  Changed constant declaraiton to use hex radix. Removed now redundant flag signal assignment.
7a2b0f9 is described below

commit 7a2b0f93dab7a8b512eb7dcd3444cf925240e807
Author: Joachim Strömbergson <joachim at secworks.se>
AuthorDate: Tue Apr 3 13:02:11 2018 +0200

    Changed constant declaraiton to use hex radix. Removed now redundant flag signal assignment.
---
 src/rtl/sha512_core.v   |  1 -
 src/tb/tb_sha512_core.v | 34 +++++++++++++++++-----------------
 2 files changed, 17 insertions(+), 18 deletions(-)

diff --git a/src/rtl/sha512_core.v b/src/rtl/sha512_core.v
index e7ce7d9..1b1aeda 100644
--- a/src/rtl/sha512_core.v
+++ b/src/rtl/sha512_core.v
@@ -538,7 +538,6 @@ module sha512_core(
     begin : work_factor_ctr
       work_factor_ctr_new  = 32'h0;
       work_factor_ctr_we   = 0;
-      work_factor_ctr_done = 1;
 
       if (work_factor_ctr_reg < work_factor_num)
         work_factor_ctr_done = 0;
diff --git a/src/tb/tb_sha512_core.v b/src/tb/tb_sha512_core.v
index 0a56b6f..e2b8a21 100644
--- a/src/tb/tb_sha512_core.v
+++ b/src/tb/tb_sha512_core.v
@@ -86,7 +86,7 @@ module tb_sha512_core();
                    .next(tb_next),
                    .mode(tb_mode),
 
-                   .work_factor(1'b0),
+                   .work_factor(1'h0),
                    .work_factor_num(32'h0),
 
                    .block(tb_block),
@@ -94,22 +94,22 @@ module tb_sha512_core();
                    .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),
+                   .state00_we(1'h0),
+                   .state01_we(1'h0),
+                   .state02_we(1'h0),
+                   .state03_we(1'h0),
+                   .state04_we(1'h0),
+                   .state05_we(1'h0),
+                   .state06_we(1'h0),
+                   .state07_we(1'h0),
+                   .state08_we(1'h0),
+                   .state09_we(1'h0),
+                   .state10_we(1'h0),
+                   .state11_we(1'h0),
+                   .state12_we(1'h0),
+                   .state13_we(1'h0),
+                   .state14_we(1'h0),
+                   .state15_we(1'h0),
 
                    .digest(tb_digest),
                    .digest_valid(tb_digest_valid)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Commits mailing list