diff options
-rw-r--r-- | src/rtl/montprod.v | 4 |
1 files changed, 3 insertions, 1 deletions
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; |