[BUG] std_cache_subsystem (write-back cache) cannot be currently used
Created by: cfuguet
Is there an existing CVA6 bug for this?
-
I have searched the existing bug issues
Bug Description
Hello,
I've noticed that currently the write-back cache cannot be used with the current compilation makefiles and list of files for the CVA6.
There are two issues:
- In the Flist.cva6 there is a '+define+WT_DCACHE' that forces the use of the write-through cache. This define shall be removed.
- std_cache_subsystem files are not listed.
In the cva6.sv file, there is a '#ifdef WT_DCACHE .... #else '. The only way to use the write-back cache is to not define the WT_DCACHE macro. However, as mentioned above, it is not currently possible.
By the way, this issue means that the CI, that currently supposes to execute tests on both WT and WB caches, do not actually do it.