[Cryptech-Commits] [core/math/modexp] 01/02: Minor layout fixes.
git at cryptech.is
git at cryptech.is
Tue Jun 2 07:32:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
joachim at secworks.se pushed a commit to branch master
in repository core/math/modexp.
commit dc0249ac5bea597cec09ba36966b43c5e84f017f
Author: Joachim Strömbergson <joachim at secworks.se>
Date: Sun May 24 21:55:14 2015 +0200
Minor layout fixes.
---
src/rtl/modexp.v | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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
More information about the Commits
mailing list