From fdd55337edc5856dc5ae0c35cd6ad28151bfc441 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 18 Feb 2022 19:42:44 +0000 Subject: [PATCH] reduce number of d-cache lines in microwatt fpga mode --- src/soc/experiment/dcache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/experiment/dcache.py b/src/soc/experiment/dcache.py index 04c222fa..3b67b7cf 100644 --- a/src/soc/experiment/dcache.py +++ b/src/soc/experiment/dcache.py @@ -745,7 +745,7 @@ class DCache(Elaboratable, DCacheConfig): if self.microwatt_compat: # reduce way sizes and num lines - super().__init__(NUM_LINES = 16, + super().__init__(NUM_LINES = 8, NUM_WAYS = 1, TLB_NUM_WAYS = 1, TLB_SET_SIZE=16) # XXX needs device-tree entry -- 2.30.2