aboutsummaryrefslogtreecommitdiff
path: root/src/rtl/sha512_core.v
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2015-07-18 12:22:31 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2015-07-18 12:22:31 +0200
commitb8228ec9568830b561f4826ce54748229f140655 (patch)
tree8dc596ce9c786e556bb68d017bec18c83a256315 /src/rtl/sha512_core.v
parent51ad57c37bb4a0f59e4af4ee069ac18f8fb9284e (diff)
Adding ports in the core to do state restore. Added wires in the top to connect the state restore ports.
Diffstat (limited to 'src/rtl/sha512_core.v')
-rw-r--r--src/rtl/sha512_core.v19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/rtl/sha512_core.v b/src/rtl/sha512_core.v
index 12742a8..895c22f 100644
--- a/src/rtl/sha512_core.v
+++ b/src/rtl/sha512_core.v
@@ -51,6 +51,25 @@ module sha512_core(
input wire [1023 : 0] block,
output wire ready,
+
+ input wire [31 : 0] state_wr_data,
+ input wire state00_we,
+ input wire state01_we,
+ input wire state02_we,
+ input wire state03_we,
+ input wire state04_we,
+ input wire state05_we,
+ input wire state06_we,
+ input wire state07_we,
+ input wire state08_we,
+ input wire state09_we,
+ input wire state10_we,
+ input wire state11_we,
+ input wire state12_we,
+ input wire state13_we,
+ input wire state14_we,
+ input wire state15_we,
+
output wire [511 : 0] digest,
output wire digest_valid
);