Skip to content

Commit 02a5eae

Browse files
authored
Merge pull request #7 from micprog/master
Decouple the width of the byte offset in a memory word from the data (payload) width
2 parents eeb8d0e + c255d55 commit 02a5eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rtl/low_latency_interco/XBAR_TCDM.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ module XBAR_TCDM
9696
input logic rst_n
9797
);
9898

99-
localparam ADDR_OFFSET = `ADDR_OFFSET(DATA_WIDTH);
99+
localparam ADDR_OFFSET = $clog2(BE_WIDTH);
100100

101101
// DATA ID array FORM address decoders to Request tree. // UNPACKED ARRAY
102102
logic [N_CH0+N_CH1-1:0][ID_WIDTH-1:0] data_ID;

0 commit comments

Comments
 (0)