aboutsummaryrefslogtreecommitdiff
path: root/src/rtl
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2018-07-05 15:43:02 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2018-07-05 15:43:02 +0200
commit96463cb7129b5998abe02e9a62b9094dff6b3a74 (patch)
tree66f3e681472e164f6a84a1f908ca88991ab0b7fb /src/rtl
parent9897e1e85a8b3e0c61444da792522cc4f5a58534 (diff)
Fixing block counter init bug. Enabling detailed debugging. Fixing minor nits.
Diffstat (limited to 'src/rtl')
-rw-r--r--src/rtl/keywrap_core.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtl/keywrap_core.v b/src/rtl/keywrap_core.v
index 99736f2..a8e6d73 100644
--- a/src/rtl/keywrap_core.v
+++ b/src/rtl/keywrap_core.v
@@ -280,7 +280,7 @@ module keywrap_core (
if (block_ctr_set)
begin
- block_ctr_new = rlen;
+ block_ctr_new = (rlen - 1);
block_ctr_we = 1'h1;
end