aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rtl/montprod.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rtl/montprod.v b/src/rtl/montprod.v
index 9748b09..8f2d012 100644
--- a/src/rtl/montprod.v
+++ b/src/rtl/montprod.v
@@ -127,7 +127,7 @@ module montprod(
reg [04 : 0] b_bit_index_reg;
reg [04 : 0] b_bit_index_new;
- reg [04 : 0] b_bit_index_we;
+ reg b_bit_index_we;
reg [07 : 0] word_index_reg; //register of what word is being read
reg [07 : 0] word_index_new; //calculation of what word to be read
@@ -157,7 +157,7 @@ module montprod(
wire [31 : 0] add_result_sm;
wire add_carry_out_sm;
- reg shr_data_in;
+ reg [31 : 0] shr_data_in;
wire shr_carry_out;
wire [31 : 0] shr_data_out;