dcache: Add a dcache
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 9 Oct 2019 13:40:46 +0000 (00:40 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 23 Oct 2019 01:30:49 +0000 (12:30 +1100)
commitb513f0fb48638aa0df8fe7f76a388498eecc1b79
tree53948c3b62b1ce9d0aeb5982a0634196153cd00c
parent7b3df7cb05cb343982ceee25e9796d96abb2d71b
dcache: Add a dcache

This replaces loadstore2 with a dcache

The dcache unit is losely based on the icache one (same basic cache
layout), but has some significant logic additions to deal with stores,
loads with update, non-cachable accesses and other differences due to
operating in the execution part of the pipeline rather than the fetch
part.

The cache is store-through, though a hit with an existing line will
update the line rather than invalidate it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Makefile
common.vhdl
core.vhdl
dcache.vhdl [new file with mode: 0644]
loadstore1.vhdl
loadstore2.vhdl [deleted file]
microwatt.core
wishbone_types.vhdl
writeback.vhdl