diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2018-12-07 10:47:54 +0100 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2018-12-07 10:47:54 +0100 |
commit | 1304440b303fd4d9b135f364e4b9ce0dd923097e (patch) | |
tree | 7c6444e180a328dc77ca8b7fdf4468f4abccc615 /src/tb | |
parent | 6cfcc1ec5bc0e2c944ec66bd62d58740d2b8823d (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.v | 5 |
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), |