mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-04-17 08:01:43 +00:00
This adds support for set associativity to the icache. It can still be direct mapped by setting NUM_WAYS to 1. The replacement policy uses a simple tree-PLRU for each set. This is only lightly tested, tests pass but I have to double check that we are using the ways effectively and not creating duplicates. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
4.1 KiB
4.1 KiB