From 0b3c532bdf44271250206301d099f697f4cc1a43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Stro=CC=88mbergson?= Date: Thu, 28 Jun 2018 13:19:21 +0200 Subject: Updated top level wrapper to better match the planned API. Updated core interface. Connected core into the top level wrapper. --- src/rtl/keywrap_core.v | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/rtl/keywrap_core.v') 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 ); -- cgit v1.2.3