# test if microwatt compatibility to be enabled
self.microwatt_compat = (hasattr(pspec, "microwatt_compat") and
(pspec.microwatt_compat == True))
+ # test if fabric compatibility is to be enabled
+ self.fabric_compat = (hasattr(pspec, "fabric_compat") and
+ (pspec.fabric_compat == True))
XLEN = pspec.XLEN
LINE_SIZE = 64
- TLB_SIZE = 16
- NUM_LINES = 16
+ TLB_SIZE = 8
+ NUM_LINES = 8
NUM_WAYS = 2
if self.small_cache:
# reduce way sizes and num lines to ridiculously small
NUM_LINES = 2
NUM_WAYS = 1
TLB_SIZE = 2
- if self.microwatt_compat:
+ if self.microwatt_compat or self.fabric_compat:
# reduce way sizes
NUM_WAYS = 1