diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2018-06-29 10:49:51 +0200 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2018-06-29 10:49:51 +0200 |
commit | 2817f5b550ebd57f3f376c6c60cf3d3c8754034b (patch) | |
tree | 15a7a245c3a52e1ddf5d310c25092fcffdbee4c2 | |
parent | 7fe900da33635fd343a7ba585624a77f5dfd79af (diff) |
Fixed nits found during linting.
-rw-r--r-- | src/rtl/keywrap_core.v | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rtl/keywrap_core.v b/src/rtl/keywrap_core.v index 14768d8..aa6f0df 100644 --- a/src/rtl/keywrap_core.v +++ b/src/rtl/keywrap_core.v @@ -134,7 +134,6 @@ module keywrap_core ( wire aes_ready; reg [127 : 0] aes_block; wire [127 : 0] aes_result; - wire aes_valid; reg update_state; @@ -176,7 +175,7 @@ module keywrap_core ( .ready(aes_ready), .result(aes_result), - .result_valid(aes_valid) + .result_valid() ); @@ -245,7 +244,7 @@ module keywrap_core ( aes_block = {a_reg, core_rd_data}; core_wr_data = aes_result[63 : 0]; - xor_val = (rlen * iteration_ctr_reg) + block_ctr_reg; + xor_val = (rlen * iteration_ctr_reg) + {51'h0, block_ctr_reg}; if (init_a) begin |