diff options
author | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2019-10-01 15:11:04 +0300 |
---|---|---|
committer | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2019-10-01 15:11:04 +0300 |
commit | 3ea94c872afe6309c43ac7eccf877734c33f5421 (patch) | |
tree | 620a0af37052eaa3053c941a98e67f393aafbd96 /rtl/modexpng_part_recombinator.v | |
parent | ecf0374b7bbf1c1ea56fea8f1acaeea85c3612d2 (diff) |
Implemented the final stage of the Montgomery modular multiplication, i.e.
addition of AB and M then reduction by right-shift.
Diffstat (limited to 'rtl/modexpng_part_recombinator.v')
-rw-r--r-- | rtl/modexpng_part_recombinator.v | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/rtl/modexpng_part_recombinator.v b/rtl/modexpng_part_recombinator.v index 567ecd5..957ba8e 100644 --- a/rtl/modexpng_part_recombinator.v +++ b/rtl/modexpng_part_recombinator.v @@ -1095,6 +1095,7 @@ module modexpng_part_recombinator end // end + // endcase // 2'd2: case (rcmb_xy_dout_valid) @@ -1103,6 +1104,20 @@ module modexpng_part_recombinator // endcase // + 2'd3: case (rcmb_xy_dout_valid) + // + 2'b00: begin + // + if (recomb_msb_flag_delay_2) begin + // + rdy_adv <= ~recomb_msb_flag_delay_1; + // + end + // + end + // + endcase + // endcase // end |