From 051b5914c988dcf58002817cb09e92bf7992f361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Stro=CC=88mbergson?= Date: Tue, 16 Oct 2018 10:30:20 +0200 Subject: Added width definition. --- src/rtl/sha256.v | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/rtl') 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; -- cgit v1.2.3