Added comment about better muxing.

This commit is contained in:
Ross Thompson 2021-07-21 14:40:14 -05:00
parent 5860f147d4
commit 310b454fa1

View File

@ -305,6 +305,7 @@ module dcache
// Convert the Read data bus ReadDataSelectWay into sets of XLEN so we can
// easily build a variable input mux.
// *** consider using a limited range shift to do this final muxing.
generate
for (index = 0; index < WORDSPERLINE; index++) begin
assign ReadDataBlockSetsM[index] = ReadDataBlockM[((index+1)*`XLEN)-1: (index*`XLEN)];