aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2015-05-08 15:18:17 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2015-05-08 15:18:17 +0200
commit24ef45bd82e0dd87ac913634d9f339f612663638 (patch)
treef9f47714644d2595024e01a8ea93b6c2891b7131 /src
parent048a8d751ee503f180350263daa5429b37791fe6 (diff)
Fixed RH operand size.
Diffstat (limited to 'src')
-rw-r--r--src/rtl/montprod.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtl/montprod.v b/src/rtl/montprod.v
index 2dc65f6..6b525f7 100644
--- a/src/rtl/montprod.v
+++ b/src/rtl/montprod.v
@@ -309,7 +309,7 @@ module montprod(
case (montprod_ctrl_reg)
CTRL_LOOP_INIT:
- loop_counter_new = {length, 5'b00000}-1;
+ loop_counter_new = {length, 5'b00000} - 1'b1;
CTRL_LOOP_ITER:
begin