From a62861f3c91e88020d2c54e6500f431b9edde1d8 Mon Sep 17 00:00:00 2001 From: "Pavel V. Shatov (Meister)" Date: Sat, 1 Jul 2017 20:11:20 +0300 Subject: Added generic/vendor-specific primitive selector for simulation. --- src/rtl/modexpa7_factor.v | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/rtl/modexpa7_factor.v') 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) ); -- cgit v1.2.3