From 13608a9b85a60982a9fa0ebee38a1d15c0ea5fc5 Mon Sep 17 00:00:00 2001 From: Ron Dreslinski Date: Wed, 30 Mar 2005 15:05:58 -0500 Subject: [PATCH] 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 --- objects/BaseCache.mpy | 4 ++++ 1 file changed, 4 insertions(+) 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")