diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2018-10-16 10:30:20 +0200 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2018-10-16 10:30:20 +0200 |
commit | 051b5914c988dcf58002817cb09e92bf7992f361 (patch) | |
tree | 499b3929b386949cc152b779312048e8159c53f3 /src | |
parent | bb03cc0bdc9f05bdc6c861ed5d725c6a0970ae5d (diff) |
Added width definition.
Diffstat (limited to 'src')
-rw-r--r-- | src/rtl/sha256.v | 8 |
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; |