Cache: add a response latency to the caches

In the current caches the hit latency is paid twice on a miss. This patch lets
a configurable response latency be set of the cache for the backward path.
This commit is contained in:
Mrinmoy Ghosh
2012-09-25 11:49:41 -05:00
parent 74ab69c7ea
commit 6fc0094337
32 changed files with 180 additions and 86 deletions

View File

@@ -36,7 +36,9 @@ class BaseCache(MemObject):
type = 'BaseCache'
assoc = Param.Int("associativity")
block_size = Param.Int("block size in bytes")
latency = Param.Latency("Latency")
hit_latency = Param.Latency("The hit latency for this cache")
response_latency = Param.Latency(
"Additional cache latency for the return path to core on a miss");
hash_delay = Param.Cycles(1, "time in cycles of hash access")
max_miss_count = Param.Counter(0,
"number of misses to handle before calling exit")