From dc0249ac5bea597cec09ba36966b43c5e84f017f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Stro=CC=88mbergson?= Date: Sun, 24 May 2015 21:55:14 +0200 Subject: 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 -- cgit v1.2.3