From 6fc0094337bc0356c55232c3850fb5fd2dab1f0c Mon Sep 17 00:00:00 2001 From: Mrinmoy Ghosh Date: Tue, 25 Sep 2012 11:49:41 -0500 Subject: 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. --- tests/configs/o3-timing-checker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/configs/o3-timing-checker.py') diff --git a/tests/configs/o3-timing-checker.py b/tests/configs/o3-timing-checker.py index 0bbe9b00a..866d57851 100644 --- a/tests/configs/o3-timing-checker.py +++ b/tests/configs/o3-timing-checker.py @@ -42,7 +42,8 @@ m5.util.addToPath('../configs/common') class MyCache(BaseCache): assoc = 2 block_size = 64 - latency = '1ns' + hit_latency = '1ns' + response_latency = '1ns' mshrs = 10 tgts_per_mshr = 5 -- cgit v1.2.3