aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rtl/sha256.v8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rtl/sha256.v b/src/rtl/sha256.v
index 17fcd84..67c8a6b 100644
--- a/src/rtl/sha256.v
+++ b/src/rtl/sha256.v
@@ -242,12 +242,12 @@ module sha256(
begin
if (!reset_n)
begin
- init_reg <= 0;
- next_reg <= 0;
+ init_reg <= 1'h0;
+ next_reg <= 1'h0;
mode_reg <= MODE_SHA_256;
- ready_reg <= 0;
+ ready_reg <= 1'h0;
digest_reg <= 256'h0;
- digest_valid_reg <= 0;
+ digest_valid_reg <= 1'h0;
block0_reg <= 32'h0;
block1_reg <= 32'h0;
block2_reg <= 32'h0;