X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=configs%2Fcommon%2FCaches.py;h=0be8001d782a9735e6e6b60b009e20cc6878bc10;hb=78a72d69727273d7ccc844bc05d080341bf9d7fa;hp=43a1c6378fac90b4ce5aa61a5c06ebd1b74b6397;hpb=5fb52e6e39017626f85cf20690ac1625d672b4ca;p=gem5.git diff --git a/configs/common/Caches.py b/configs/common/Caches.py index 43a1c6378..0be8001d7 100644 --- a/configs/common/Caches.py +++ b/configs/common/Caches.py @@ -26,7 +26,6 @@ # # Authors: Lisa Hsu -import m5 from m5.objects import * class L1Cache(BaseCache): @@ -34,7 +33,8 @@ class L1Cache(BaseCache): block_size = 64 latency = '1ns' mshrs = 10 - tgts_per_mshr = 5 + tgts_per_mshr = 20 + is_top_level = True class L2Cache(BaseCache): assoc = 8 @@ -43,3 +43,21 @@ class L2Cache(BaseCache): mshrs = 20 tgts_per_mshr = 12 +class PageTableWalkerCache(BaseCache): + assoc = 2 + block_size = 64 + latency = '1ns' + mshrs = 10 + size = '1kB' + tgts_per_mshr = 12 + is_top_level = True + +class IOCache(BaseCache): + assoc = 8 + block_size = 64 + latency = '10ns' + mshrs = 20 + size = '1kB' + tgts_per_mshr = 12 + forward_snoops = False + is_top_level = True