aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2018-04-23 14:40:18 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2018-04-23 14:40:18 +0200
commit0972f00bce399135a299e9b1c8fe36f14c9f72f1 (patch)
tree6aaee760b13a3834c6968fa725b20bbce1745f7a
parent087f18a05f73f78d5f3636ca47ce0a093874448a (diff)
Minor cleanup.
-rw-r--r--src/rtl/sha512_core.v32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/rtl/sha512_core.v b/src/rtl/sha512_core.v
index 576d872..1b50a6f 100644
--- a/src/rtl/sha512_core.v
+++ b/src/rtl/sha512_core.v
@@ -373,14 +373,14 @@ module sha512_core(
//----------------------------------------------------------------
always @*
begin : digest_logic
- H0_new = 64'h00000000;
- H1_new = 64'h00000000;
- H2_new = 64'h00000000;
- H3_new = 64'h00000000;
- H4_new = 64'h00000000;
- H5_new = 64'h00000000;
- H6_new = 64'h00000000;
- H7_new = 64'h00000000;
+ H0_new = 64'h0;
+ H1_new = 64'h0;
+ H2_new = 64'h0;
+ H3_new = 64'h0;
+ H4_new = 64'h0;
+ H5_new = 64'h0;
+ H6_new = 64'h0;
+ H7_new = 64'h0;
H_we = 0;
if (digest_init)
@@ -459,14 +459,14 @@ module sha512_core(
//----------------------------------------------------------------
always @*
begin : state_logic
- a_new = 64'h00000000;
- b_new = 64'h00000000;
- c_new = 64'h00000000;
- d_new = 64'h00000000;
- e_new = 64'h00000000;
- f_new = 64'h00000000;
- g_new = 64'h00000000;
- h_new = 64'h00000000;
+ a_new = 64'h0;
+ b_new = 64'h0;
+ c_new = 64'h0;
+ d_new = 64'h0;
+ e_new = 64'h0;
+ f_new = 64'h0;
+ g_new = 64'h0;
+ h_new = 64'h0;
a_h_we = 0;
if (state_init)