aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rtl/sha256.v34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/rtl/sha256.v b/src/rtl/sha256.v
index 7e1035f..1f9e75e 100644
--- a/src/rtl/sha256.v
+++ b/src/rtl/sha256.v
@@ -236,24 +236,24 @@ module sha256(
init_reg <= 0;
next_reg <= 0;
ready_reg <= 0;
- digest_reg <= 256'h0000000000000000000000000000000000000000000000000000000000000000;
+ digest_reg <= 256'h0;
digest_valid_reg <= 0;
- block0_reg <= 32'h00000000;
- block1_reg <= 32'h00000000;
- block2_reg <= 32'h00000000;
- block3_reg <= 32'h00000000;
- block4_reg <= 32'h00000000;
- block5_reg <= 32'h00000000;
- block6_reg <= 32'h00000000;
- block7_reg <= 32'h00000000;
- block8_reg <= 32'h00000000;
- block9_reg <= 32'h00000000;
- block10_reg <= 32'h00000000;
- block11_reg <= 32'h00000000;
- block12_reg <= 32'h00000000;
- block13_reg <= 32'h00000000;
- block14_reg <= 32'h00000000;
- block15_reg <= 32'h00000000;
+ block0_reg <= 32'h0;
+ block1_reg <= 32'h0;
+ block2_reg <= 32'h0;
+ block3_reg <= 32'h0;
+ block4_reg <= 32'h0;
+ block5_reg <= 32'h0;
+ block6_reg <= 32'h0;
+ block7_reg <= 32'h0;
+ block8_reg <= 32'h0;
+ block9_reg <= 32'h0;
+ block10_reg <= 32'h0;
+ block11_reg <= 32'h0;
+ block12_reg <= 32'h0;
+ block13_reg <= 32'h0;
+ block14_reg <= 32'h0;
+ block15_reg <= 32'h0;
end
else
begin