From: Ron Dreslinski Date: Wed, 30 Mar 2005 20:05:58 +0000 (-0500) Subject: Rework the way the prefetcher is used. Now we copy the request from the prefetch... X-Git-Tag: m5_1.0_tutorial~65^2~16^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13608a9b85a60982a9fa0ebee38a1d15c0ea5fc5;p=gem5.git Rework the way the prefetcher is used. Now we copy the request from the prefetch queue and into the mq when issued objects/BaseCache.mpy: Add some parameters for prefetcher --HG-- extra : convert_revision : 1a2e6d2ce5359fab0a4d5d4639a701131101d68c --- diff --git a/objects/BaseCache.mpy b/objects/BaseCache.mpy index 98a422e30..314a4efda 100644 --- a/objects/BaseCache.mpy +++ b/objects/BaseCache.mpy @@ -36,3 +36,7 @@ simobj BaseCache(BaseMem): two_queue = Param.Bool(False, "whether the lifo should have two queue replacement") write_buffers = Param.Int(8, "number of write buffers") + use_prefetcher = Param.Bool(False, + "wheter you are using the hardware prefetcher") + prefetcher_size = Param.Int(100, + "Number of entries in the harware prefetch queue")