From 24ef45bd82e0dd87ac913634d9f339f612663638 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Stro=CC=88mbergson?= Date: Fri, 8 May 2015 15:18:17 +0200 Subject: Fixed RH operand size. --- src/rtl/montprod.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rtl') 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 -- cgit v1.2.3