forked from Github_Repos/cvw
Fix bug in cache line
This commit is contained in:
parent
b774d35c34
commit
ebd6b931c6
2
wally-pipelined/src/cache/line.sv
vendored
2
wally-pipelined/src/cache/line.sv
vendored
@ -62,7 +62,7 @@ module rocacheline #(parameter LINESIZE = 256, parameter TAGSIZE = 32, parameter
|
||||
|
||||
|
||||
always_comb begin
|
||||
assign DataWord = DataLinesOut[WordSelect[OFFSETSIZE-1:$clog2(WORDSIZE)]];
|
||||
assign DataWord = DataLinesOut[WordSelect[OFFSETSIZE-1:$clog2(WORDSIZE/8)]];
|
||||
end
|
||||
|
||||
endmodule
|
||||
|
Loading…
Reference in New Issue
Block a user