aboutsummaryrefslogtreecommitdiff
path: root/src/rtl/keywrap_core.v
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2018-06-28 13:19:21 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2018-06-28 13:19:21 +0200
commit0b3c532bdf44271250206301d099f697f4cc1a43 (patch)
tree863884dec54cea10c0576bd19f97a00ab0e5b489 /src/rtl/keywrap_core.v
parent3561980487ec7b67dbab1047b1c1525eb0ad66d2 (diff)
Updated top level wrapper to better match the planned API. Updated core interface. Connected core into the top level wrapper.
Diffstat (limited to 'src/rtl/keywrap_core.v')
-rw-r--r--src/rtl/keywrap_core.v10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/rtl/keywrap_core.v b/src/rtl/keywrap_core.v
index 61f7859..9695b0b 100644
--- a/src/rtl/keywrap_core.v
+++ b/src/rtl/keywrap_core.v
@@ -44,15 +44,19 @@ module keywrap_core (
input wire clk,
input wire reset_n,
- input wire encdec,
input wire init,
+ input wire next,
+ input wire encdec,
+
output wire ready,
+
+ input wire [12 : 0] rlen,
+
input wire [255 : 0] key,
input wire keylen,
- input wire [13 : 0] message_len,
+ input wire api_cs,
input wire api_we,
- input wire [13 : 0] api_addr,
input wire [31 : 0] api_wr_data,
output wire [31 : 0] api_rd_data
);