diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2018-12-20 15:45:01 +0100 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2018-12-20 15:45:01 +0100 |
commit | b03f8a27dec3035008128035986e7659649019a5 (patch) | |
tree | b4c6d4efdb6b48d0973877f047f45fceaf53ace9 /src | |
parent | 0500077567e1e8f5a916083792409ff2c65b4087 (diff) |
valid should not be set from reset. There is no valid data.
Diffstat (limited to 'src')
-rw-r--r-- | src/rtl/keywrap_core.v | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rtl/keywrap_core.v b/src/rtl/keywrap_core.v index 866e132..3da4a19 100644 --- a/src/rtl/keywrap_core.v +++ b/src/rtl/keywrap_core.v @@ -216,11 +216,11 @@ module keywrap_core #(parameter MEM_BITS = 11) begin a_reg <= 64'h0; ready_reg <= 1'h1; - valid_reg <= 1'h1; + valid_reg <= 1'h0; + key_loaded_reg <= 1'h0; block_ctr_reg <= {(MEM_BITS - 1){1'h0}}; iteration_ctr_reg <= 3'h0; key_timeout_ctr_reg <= 32'h0; - key_loaded_reg <= 1'h0; keywrap_core_ctrl_reg <= CTRL_IDLE; end |