aboutsummaryrefslogtreecommitdiff
path: root/src/rtl/sha256_core.v
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtl/sha256_core.v')
-rw-r--r--src/rtl/sha256_core.v33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/rtl/sha256_core.v b/src/rtl/sha256_core.v
index a88a359..dbcec3b 100644
--- a/src/rtl/sha256_core.v
+++ b/src/rtl/sha256_core.v
@@ -45,6 +45,39 @@ module sha256_core(
input wire [511 : 0] block,
+ // State access ports
+ input wire [31 : 0] H0_wr_data,
+ input wire H0_we,
+ output wire [31 : 0] H0_rd_data,
+
+ input wire [31 : 0] H1_wr_data,
+ input wire H1_we,
+ output wire [31 : 0] H1_rd_data,
+
+ input wire [31 : 0] H2_wr_data,
+ input wire H2_we,
+ output wire [31 : 0] H2_rd_data,
+
+ input wire [31 : 0] H3_wr_data,
+ input wire H3_we,
+ output wire [31 : 0] H3_rd_data,
+
+ input wire [31 : 0] H4_wr_data,
+ input wire H4_we,
+ output wire [31 : 0] H4_rd_data,
+
+ input wire [31 : 0] H5_wr_data,
+ input wire H5_we,
+ output wire [31 : 0] H5_rd_data,
+
+ input wire [31 : 0] H6_wr_data,
+ input wire H6_we,
+ output wire [31 : 0] H6_rd_data,
+
+ input wire [31 : 0] H7_wr_data,
+ input wire H7_we,
+ output wire [31 : 0] H7_rd_data,
+
output wire ready,
output wire [255 : 0] digest,