Prefetcher.py (13700:56fa28e6fab4) Prefetcher.py (13717:11e81e2a98bd)
1# Copyright (c) 2012, 2014 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 327 unchanged lines hidden (view full) ---

336 cxx_class = 'SlimAMPMPrefetcher'
337 cxx_header = "mem/cache/prefetch/slim_ampm.hh"
338
339 ampm = Param.AccessMapPatternMatching(SlimAccessMapPatternMatching(),
340 "Access Map Pattern Matching object")
341 dcpt = Param.DeltaCorrelatingPredictionTables(
342 SlimDeltaCorrelatingPredictionTables(),
343 "Delta Correlating Prediction Tables object")
1# Copyright (c) 2012, 2014 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 327 unchanged lines hidden (view full) ---

336 cxx_class = 'SlimAMPMPrefetcher'
337 cxx_header = "mem/cache/prefetch/slim_ampm.hh"
338
339 ampm = Param.AccessMapPatternMatching(SlimAccessMapPatternMatching(),
340 "Access Map Pattern Matching object")
341 dcpt = Param.DeltaCorrelatingPredictionTables(
342 SlimDeltaCorrelatingPredictionTables(),
343 "Delta Correlating Prediction Tables object")
344
345class BOPPrefetcher(QueuedPrefetcher):
346 type = "BOPPrefetcher"
347 cxx_class = "BOPPrefetcher"
348 cxx_header = "mem/cache/prefetch/bop.hh"
349 score_max = Param.Unsigned(31, "Max. score to update the best offset")
350 round_max = Param.Unsigned(100, "Max. round to update the best offset")
351 bad_score = Param.Unsigned(10, "Score at which the HWP is disabled")
352 rr_size = Param.Unsigned(64, "Number of entries of each RR bank")
353 tag_bits = Param.Unsigned(12, "Bits used to store the tag")
354 offset_list_size = Param.Unsigned(46,
355 "Number of entries in the offsets list")
356 negative_offsets_enable = Param.Bool(True,
357 "Initialize the offsets list also with negative values \
358 (i.e. the table will have half of the entries with positive \
359 offsets and the other half with negative ones)")
360 delay_queue_enable = Param.Bool(True, "Enable the delay queue")
361 delay_queue_size = Param.Unsigned(15,
362 "Number of entries in the delay queue")
363 delay_queue_cycles = Param.Cycles(60,
364 "Cycles to delay a write in the left RR table from the delay \
365 queue")