Loading dsp/dsp_ma_preadd.v +7 −0 Original line number Diff line number Diff line Loading @@ -79,6 +79,9 @@ module dsp_ma_preadd #( 1'b0, 2'b01, 2'b01}; initial begin $display("dsp_ma_preadd, using DSP48E1"); end DSP48E1 #( .ACASCREG (1), Loading Loading @@ -164,6 +167,10 @@ module dsp_ma_preadd #( ); `else initial begin $display("dsp_ma_preadd, not using DSP48E1"); end // Will try to make it infer DSP48e1 reg signed [B_WIDTH-1:0] b1_reg; reg signed [B_WIDTH-1:0] b2_reg; Loading dsp/dsp_ma_preadd_c.v +8 −0 Original line number Diff line number Diff line Loading @@ -69,6 +69,10 @@ module dsp_ma_preadd_c #( output signed [P_WIDTH-1:0] pout ); `ifdef INSTANTIATE_DSP48E1 initial begin $display("dsp_ma_preadd_c, using DSP48E1"); end wire [4:0] inmode = {~selb, sub_a, en_d, Loading Loading @@ -167,6 +171,10 @@ module dsp_ma_preadd_c #( ); `else initial begin $display("dsp_ma_preadd_c, not using DSP48E1"); end // Will try to make it infer DSP48e1 reg signed [B_WIDTH-1:0] b1_reg; reg signed [B_WIDTH-1:0] b2_reg; Loading Loading
dsp/dsp_ma_preadd.v +7 −0 Original line number Diff line number Diff line Loading @@ -79,6 +79,9 @@ module dsp_ma_preadd #( 1'b0, 2'b01, 2'b01}; initial begin $display("dsp_ma_preadd, using DSP48E1"); end DSP48E1 #( .ACASCREG (1), Loading Loading @@ -164,6 +167,10 @@ module dsp_ma_preadd #( ); `else initial begin $display("dsp_ma_preadd, not using DSP48E1"); end // Will try to make it infer DSP48e1 reg signed [B_WIDTH-1:0] b1_reg; reg signed [B_WIDTH-1:0] b2_reg; Loading
dsp/dsp_ma_preadd_c.v +8 −0 Original line number Diff line number Diff line Loading @@ -69,6 +69,10 @@ module dsp_ma_preadd_c #( output signed [P_WIDTH-1:0] pout ); `ifdef INSTANTIATE_DSP48E1 initial begin $display("dsp_ma_preadd_c, using DSP48E1"); end wire [4:0] inmode = {~selb, sub_a, en_d, Loading Loading @@ -167,6 +171,10 @@ module dsp_ma_preadd_c #( ); `else initial begin $display("dsp_ma_preadd_c, not using DSP48E1"); end // Will try to make it infer DSP48e1 reg signed [B_WIDTH-1:0] b1_reg; reg signed [B_WIDTH-1:0] b2_reg; Loading