1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-04-25 20:11:34 +00:00
Files
antonblanchard.microwatt/dcache.vhdl
Benjamin Herrenschmidt 5cfa65e836 Introduce addr_to_wb() and wb_to_addr() helpers
These convert addresses to/from wishbone addresses, and use them
in parts of the caches, in order to make the code a bit more readable.

Along the way, rename some functions in the caches to make it a bit
clearer what they operate on and fix a bug in the icache STOP_RELOAD state where
the wb address wasn't properly converted.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2021-09-27 22:04:35 +10:00

61 KiB