wire [Y_WIDTH-1:0] partial_sum [n:0];\r
end\r
\r
- for (i = 0; i < n; i=i+1) begin:slice\r
+ for (i = 0; i < n; i=i+1) begin:sliceA\r
\$__mul #(\r
.A_SIGNED(sign_headroom),\r
.B_SIGNED(B_SIGNED),\r
.A_WIDTH(`DSP_A_MAXWIDTH_PARTIAL),\r
.B_WIDTH(B_WIDTH),\r
.Y_WIDTH(partial_Y_WIDTH)\r
- ) mul_slice (\r
+ ) mul (\r
.A({{sign_headroom{1'b0}}, A[i*(`DSP_A_MAXWIDTH_PARTIAL-sign_headroom) +: `DSP_A_MAXWIDTH_PARTIAL-sign_headroom]}),\r
.B(B),\r
.Y(partial[i])\r
.A_WIDTH(last_A_WIDTH),\r
.B_WIDTH(B_WIDTH),\r
.Y_WIDTH(last_Y_WIDTH)\r
- ) mul_slice_last (\r
+ ) sliceA.last (\r
.A(A[A_WIDTH-1 -: last_A_WIDTH]),\r
.B(B),\r
.Y(last_partial)\r
wire [Y_WIDTH-1:0] partial_sum [n:0];\r
end\r
\r
- for (i = 0; i < n; i=i+1) begin:slice\r
+ for (i = 0; i < n; i=i+1) begin:sliceB\r
\$__mul #(\r
.A_SIGNED(A_SIGNED),\r
.B_SIGNED(sign_headroom),\r
.A_WIDTH(A_WIDTH),\r
.B_WIDTH(last_B_WIDTH),\r
.Y_WIDTH(last_Y_WIDTH)\r
- ) mul_last (\r
+ ) mul_sliceB_last (\r
.A(A),\r
.B(B[B_WIDTH-1 -: last_B_WIDTH]),\r
.Y(last_partial)\r