diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2018-09-28 12:21:10 +0200 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2018-09-28 12:21:10 +0200 |
commit | d832fcd65677d54b23dce2f08fd7208c21e50564 (patch) | |
tree | ad8c95edbe6064668769fc5feebe2df99c033b20 /src/rtl/keywrap_mkmif.v | |
parent | 86d87571a957365be5191cce7503c8c66c41557e (diff) |
Completed the functionality that should be in the wrapper. Now its just debugging...
Diffstat (limited to 'src/rtl/keywrap_mkmif.v')
-rw-r--r-- | src/rtl/keywrap_mkmif.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtl/keywrap_mkmif.v b/src/rtl/keywrap_mkmif.v index 72eaaf4..31b7c09 100644 --- a/src/rtl/keywrap_mkmif.v +++ b/src/rtl/keywrap_mkmif.v @@ -367,7 +367,7 @@ module keywrap_mkmif ( mkm_write_op = 1'h1; mkm_addr_new = MKM_STATUS_WORD + {key_word_ctr_reg, 2'h0}; mkm_addr_we = 1'h1; - mkm_write_data_new = key; + mkm_write_data_new = key[key_word_ctr_reg * 32 +: 32]; mkm_write_data_we = 1'h1; keywrap_mkmif_ctrl_new = CTRL_WRITE_KEY_WAIT; keywrap_mkmif_ctrl_we = 1'h1; |