diff options
Diffstat (limited to 'src/rtl/modexpa7_factor.v')
-rw-r--r-- | src/rtl/modexpa7_factor.v | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/rtl/modexpa7_factor.v b/src/rtl/modexpa7_factor.v index 7d8da72..b3ad130 100644 --- a/src/rtl/modexpa7_factor.v +++ b/src/rtl/modexpa7_factor.v @@ -276,14 +276,15 @@ module modexpa7_factor # /* mask borrow into the very first word */
sub_b_in_mask <= (fsm_next_state == FSM_STATE_CALC_3) ? 1'b1 : 1'b0;
- ip_sub32 sub_inst
+ modexpa7_pe_sub sub_inst
(
.clk (clk),
+ .ce (1'b1),
.a (f1_data_in),
.b (n_bram_out_dly),
- .c_in (sub_b_in),
- .s (sub_d),
- .c_out (sub_b_out)
+ .b_in (sub_b_in),
+ .d (sub_d),
+ .b_out (sub_b_out)
);
|