Skip to content

Conversation

@micprog
Copy link
Member

@micprog micprog commented Feb 21, 2024

No description provided.

@micprog micprog changed the title Add plru tree to L0 Add PLRU eviction to L0 and L1 Feb 21, 2024
Comment on lines +231 to +242
if (evict_strb == hit_early) begin
evict_strb = 1 << cnt_d;
cnt_d = cnt_q + 2;
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure to never evict the currently used cache line: pulp-platform/snitch#69

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a check to prevent the prefetch if the current line is being fetched (on the last commit on the branch), however I did not synthesize thus don't know the full timing implications.

@micprog micprog force-pushed the michaero/plru branch 2 times, most recently from 3d7f1f5 to 6a5798b Compare July 31, 2024 07:54
@micprog micprog marked this pull request as ready for review July 31, 2024 13:53
@micprog micprog requested a review from paulsc96 as a code owner July 31, 2024 13:53
@micprog micprog requested a review from SamuelRiedel August 5, 2024 08:09
micprog added 3 commits June 18, 2025 17:18
Current addition is directly with FFs in the handler, not re-using tag
storage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants