This commit is contained in:
Carlos Gutierrez
2025-10-05 00:29:32 -04:00
parent 9fc3494cc1
commit b75a4bcfac

View File

@@ -45,9 +45,15 @@ elif args.core == "hybrid":
# ------------------------------- # -------------------------------
# Cache hierarchy # Cache hierarchy
# ------------------------------- # -------------------------------
class L1I(Cache): size = "32kB" class L1I(Cache):
class L1D(Cache): size = "32kB" size = "32kB"
class L2(Cache): size = args.l2 assoc = 2
class L1D(Cache):
size = "32kB"
assoc = 2
class L2(Cache):
size = args.l2
assoc = 8
system.l2bus = L2XBar() system.l2bus = L2XBar()
for c in system.cpu: for c in system.cpu: