aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2018-12-20 15:45:01 +0100
committerJoachim StroĢˆmbergson <joachim@secworks.se>2018-12-20 15:45:01 +0100
commitb03f8a27dec3035008128035986e7659649019a5 (patch)
treeb4c6d4efdb6b48d0973877f047f45fceaf53ace9 /src
parent0500077567e1e8f5a916083792409ff2c65b4087 (diff)
valid should not be set from reset. There is no valid data.
Diffstat (limited to 'src')
-rw-r--r--src/rtl/keywrap_core.v4
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