aboutsummaryrefslogtreecommitdiff
path: root/src/rtl/modexpa7_factor.v
diff options
context:
space:
mode:
authorPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2017-07-01 20:11:20 +0300
committerPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2017-07-01 20:11:20 +0300
commita62861f3c91e88020d2c54e6500f431b9edde1d8 (patch)
treec9e9b1ff4790df8070bc6da0bb4e90f4a0cef134 /src/rtl/modexpa7_factor.v
parent73fd79329a415514027abb976b76c890845aab0f (diff)
Added generic/vendor-specific primitive selector for simulation.
Diffstat (limited to 'src/rtl/modexpa7_factor.v')
-rw-r--r--src/rtl/modexpa7_factor.v9
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)
);