diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2015-05-24 21:55:14 +0200 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2015-05-24 21:55:14 +0200 |
commit | dc0249ac5bea597cec09ba36966b43c5e84f017f (patch) | |
tree | 4623f399660c626704e812541717fa7380be22ef /src/rtl | |
parent | 7b58de73ca8e86479372337d6ac313c22babb72a (diff) |
Minor layout fixes.
Diffstat (limited to 'src/rtl')
-rw-r--r-- | src/rtl/modexp.v | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rtl/modexp.v b/src/rtl/modexp.v index 8e8d9b1..88060ea 100644 --- a/src/rtl/modexp.v +++ b/src/rtl/modexp.v @@ -729,10 +729,12 @@ module modexp( //---------------------------------------------------------------- always @* begin : one_process - one_new = 32'h00000000; + one_new = 32'h00000000; b_one_new = 32'h00000000; + if (montprod_opa_addr == length_m1_reg) one_new = 32'h00000001; + if (montprod_opb_addr == length_m1_reg) b_one_new = 32'h00000001; end |