Skip to content

Commit

Permalink
fix to lane offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
mmrahorovic committed May 14, 2024
1 parent ca439ff commit 886d4ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion finn-rtllib/mvu/mvu_8sx8u_dsp48.sv
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ module mvu_8sx8u_dsp48 #(

// Stages #1 - #3: DSP Lanes + cross-lane canaries duplicated with SIMD parallelism
localparam int unsigned SINGLE_PROD_WIDTH = ACTIVATION_WIDTH+WEIGHT_WIDTH;
localparam int unsigned D[2:0] = '{ ACCU_WIDTH+SINGLE_PROD_WIDTH, SINGLE_PROD_WIDTH, 0 }; // Lane offsets
localparam int unsigned D[2:0] = '{ ACCU_WIDTH+SINGLE_PROD_WIDTH, SINGLE_PROD_WIDTH-1, 0 }; // Lane offsets

localparam int unsigned PIPE_COUNT = (PE+1)/2;
for(genvar c = 0; c < PIPE_COUNT; c++) begin : genPipes
Expand Down

0 comments on commit 886d4ae

Please sign in to comment.