aboutsummaryrefslogtreecommitdiff
path: root/src/rtl
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2015-06-26 16:54:06 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2015-06-26 16:54:06 +0200
commit0b947572d28eab68fa2a43600900c2fc3d4c9665 (patch)
treeba3990e5c973980fad8a5da0adbbb49a6d559bcb /src/rtl
parent97de1e03b8a69924bc577027d5b4d95cf497bf45 (diff)
Adding note about experimental fused shift functionality in the adder stage.
Diffstat (limited to 'src/rtl')
-rw-r--r--src/rtl/montprod.v4
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;