[Cryptech-Commits] [core/math/modexp] 01/01: Adding note about experimental fused shift functionality in the adder stage.

git at cryptech.is git at cryptech.is
Fri Jun 26 14:54:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

joachim at secworks.se pushed a commit to branch perfopt
in repository core/math/modexp.

commit 0b947572d28eab68fa2a43600900c2fc3d4c9665
Author: Joachim Strömbergson <joachim at secworks.se>
Date:   Fri Jun 26 16:54:06 2015 +0200

    Adding note about experimental fused shift functionality in the adder stage.
---
 src/rtl/montprod.v | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/rtl/montprod.v b/src/rtl/montprod.v
index 4b93e57..3a310d7 100644
--- a/src/rtl/montprod.v
+++ b/src/rtl/montprod.v
@@ -383,10 +383,12 @@ module montprod #(parameter OPW = 32, parameter ADW = 8)
             add_carry_in_sm_new = add_carry_out_sm;
 
 
+            // Experimental integration of shift in add.
             shr_data_in              = tmp_s_mem_write_data;
-            shifted_s_mem_write_data = {shr_carry_out ,shr_data_out_reg};
+            shifted_s_mem_write_data = {shr_carry_out, shr_data_out_reg};
           end
 
+
         SMUX_SHR:
           begin
             shr_data_in      = s_mem_read_data;



More information about the Commits mailing list