From 6093e06cf36678a6b6b196e851338b7445212558 Mon Sep 17 00:00:00 2001 From: "Pavel V. Shatov (Meister)" Date: Thu, 30 Jan 2020 19:48:40 +0300 Subject: Accomodate the changes to DSP slice wrappers. --- rtl/modexpng_reductor.v | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) (limited to 'rtl/modexpng_reductor.v') diff --git a/rtl/modexpng_reductor.v b/rtl/modexpng_reductor.v index 1e6dcc1..0b4f62e 100644 --- a/rtl/modexpng_reductor.v +++ b/rtl/modexpng_reductor.v @@ -300,11 +300,13 @@ module modexpng_reductor `MODEXPNG_DSP_SLICE_ADDSUB dsp_lsb_x ( .clk (clk), - .ce_abc (lsb_ce), + .ce_ab1 (1'b0), + .ce_ab2 (lsb_ce), + .ce_c (lsb_ce), .ce_p (lsb_ce_dly), .ce_ctrl (lsb_ce), - .x (lsb_ax), - .y (lsb_bx), + .ab (lsb_ax), + .c (lsb_bx), .p (lsb_px), .op_mode (lsb_opmode), .alu_mode (DSP48E1_ALUMODE_Z_PLUS_X_AND_Y_AND_CIN), @@ -317,11 +319,13 @@ module modexpng_reductor `MODEXPNG_DSP_SLICE_ADDSUB dsp_lsb_y ( .clk (clk), - .ce_abc (lsb_ce), + .ce_ab1 (1'b0), + .ce_ab2 (lsb_ce), + .ce_c (lsb_ce), .ce_p (lsb_ce_dly), .ce_ctrl (lsb_ce), - .x (lsb_ay), - .y (lsb_by), + .ab (lsb_ay), + .c (lsb_by), .p (lsb_py), .op_mode (lsb_opmode), .alu_mode (DSP48E1_ALUMODE_Z_PLUS_X_AND_Y_AND_CIN), @@ -383,11 +387,13 @@ module modexpng_reductor `MODEXPNG_DSP_SLICE_ADDSUB dsp_msb_x ( .clk (clk), - .ce_abc (msb_ce), + .ce_ab1 (1'b0), + .ce_ab2 (msb_ce), + .ce_c (msb_ce), .ce_p (msb_ce_dly1), .ce_ctrl (msb_ce), - .x (msb_ax), - .y (msb_bx), + .ab (msb_ax), + .c (msb_bx), .p (msb_px), .op_mode (msb_opmode), .alu_mode (DSP48E1_ALUMODE_Z_PLUS_X_AND_Y_AND_CIN), @@ -400,11 +406,13 @@ module modexpng_reductor `MODEXPNG_DSP_SLICE_ADDSUB dsp_msb_y ( .clk (clk), - .ce_abc (msb_ce), + .ce_ab1 (1'b0), + .ce_ab2 (msb_ce), + .ce_c (msb_ce), .ce_p (msb_ce_dly1), .ce_ctrl (msb_ce), - .x (msb_ay), - .y (msb_by), + .ab (msb_ay), + .c (msb_by), .p (msb_py), .op_mode (msb_opmode), .alu_mode (DSP48E1_ALUMODE_Z_PLUS_X_AND_Y_AND_CIN), -- cgit v1.2.3