if self.microwatt_compat:
# reduce way sizes and num lines
- super().__init__(NUM_LINES = 4,
+ super().__init__(NUM_LINES = 2,
NUM_WAYS = 1,
TLB_NUM_WAYS = 1,
- TLB_SET_SIZE=4) # XXX needs device-tree entry
+ TLB_SET_SIZE=2) # XXX needs device-tree entry
else:
super().__init__()
# reduce way sizes and num lines
ICacheConfig.__init__(self, LINE_SIZE=XLEN,
XLEN=XLEN,
- NUM_LINES = 4,
+ NUM_LINES = 2,
NUM_WAYS = 1,
- TLB_SIZE=4 # needs device-tree update
+ TLB_SIZE=2 # needs device-tree update
)
else:
ICacheConfig.__init__(self, LINE_SIZE=XLEN, XLEN=XLEN)