diff options
Diffstat (limited to 'src/rtl')
-rw-r--r-- | src/rtl/keywrap_core.v | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rtl/keywrap_core.v b/src/rtl/keywrap_core.v index b084363..0354475 100644 --- a/src/rtl/keywrap_core.v +++ b/src/rtl/keywrap_core.v @@ -91,6 +91,8 @@ module keywrap_core #(parameter MEM_BITS = 11) localparam CTRL_NEXT_FINALIZE = 4'ha; localparam CTRL_ZERO_WAIT = 4'hb; + localparam DEFAULT_TIMEOUT = 32'h0400_0000; + //---------------------------------------------------------------- // Registers and memories including control signals. @@ -222,7 +224,7 @@ module keywrap_core #(parameter MEM_BITS = 11) 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_timeout_ctr_reg <= DEFAULT_TIMEOUT; keywrap_core_ctrl_reg <= CTRL_IDLE; end |