aboutsummaryrefslogtreecommitdiff
path: root/src/tb
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2018-12-07 10:47:54 +0100
committerJoachim StroĢˆmbergson <joachim@secworks.se>2018-12-07 10:47:54 +0100
commit1304440b303fd4d9b135f364e4b9ce0dd923097e (patch)
tree7c6444e180a328dc77ca8b7fdf4468f4abccc615 /src/tb
parent6cfcc1ec5bc0e2c944ec66bd62d58740d2b8823d (diff)
Adding API support for key loaded status and key timeout control. Added ports in the core to support key status and timeout. Updated core testbench to match the new interface.
Diffstat (limited to 'src/tb')
-rw-r--r--src/tb/tb_keywrap_core.v5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tb/tb_keywrap_core.v b/src/tb/tb_keywrap_core.v
index 17c8f30..1212ad7 100644
--- a/src/tb/tb_keywrap_core.v
+++ b/src/tb/tb_keywrap_core.v
@@ -67,6 +67,8 @@ module tb_keywrap_core();
reg tb_encdec;
wire tb_ready;
wire tb_valid;
+ wire tb_loaded;
+ reg [31 : 0] tb_timeout;
reg [(RLEN_BITS - 1) : 0] tb_rlen;
reg [255 : 0] tb_key;
reg tb_keylen;
@@ -92,6 +94,9 @@ module tb_keywrap_core();
.ready(tb_ready),
.valid(tb_valid),
+ .loaded(tb_loaded),
+
+ .timeout(tb_timeout),
.rlen(tb_rlen),
.key(tb_key),