icache & dcache: Fix store way variable
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 17 Oct 2019 05:41:19 +0000 (16:41 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 23 Oct 2019 01:30:49 +0000 (12:30 +1100)
commit6e0ee0b0db81fbe190653e3903c87c2287d05946
tree017afa62ef0b25257de810d55518b1dc8f3f24c5
parent587a5e3c45bfb3a3bfc1abe56954da8931aaaa85
icache & dcache: Fix store way variable

We used the variable "way" in the wrong state in the cache when
updating a line valid bit after the end of the wishbone transactions,
we need to use the latched "store_way".

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
dcache.vhdl
icache.vhdl