mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-03-09 12:06:05 +00:00
litedram: L2 use latched refill_index
Not a huge difference since wb_req is itself a latch but may as well Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
@@ -962,9 +962,9 @@ begin
|
||||
-- Store new tag in selected way
|
||||
for i in 0 to NUM_WAYS-1 loop
|
||||
if i = refill_way then
|
||||
tagset := cache_tags(req_index);
|
||||
tagset := cache_tags(refill_index);
|
||||
write_tag(i, tagset, req_tag);
|
||||
cache_tags(req_index) <= tagset;
|
||||
cache_tags(refill_index) <= tagset;
|
||||
end if;
|
||||
end loop;
|
||||
state <= REFILL_WAIT_ACK;
|
||||
|
||||
Reference in New Issue
Block a user