Prefetcher.py (10052:5bb8e054456b) Prefetcher.py (10053:b0b69dbafc08)
1# Copyright (c) 2012 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

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

60 data_accesses_only = Param.Bool(False,
61 "Only prefetch on data not on instruction accesses")
62 on_miss_only = Param.Bool(False,
63 "Only prefetch on miss (as opposed to always)")
64 on_read_only = Param.Bool(False,
65 "Only prefetch on read requests (write requests ignored)")
66 on_prefetch = Param.Bool(True,
67 "Let lower cache prefetcher train on prefetch requests")
1# Copyright (c) 2012 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

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

60 data_accesses_only = Param.Bool(False,
61 "Only prefetch on data not on instruction accesses")
62 on_miss_only = Param.Bool(False,
63 "Only prefetch on miss (as opposed to always)")
64 on_read_only = Param.Bool(False,
65 "Only prefetch on read requests (write requests ignored)")
66 on_prefetch = Param.Bool(True,
67 "Let lower cache prefetcher train on prefetch requests")
68 inst_tagged = Param.Bool(True,
69 "Perform a tagged prefetch for instruction fetches always")
68 sys = Param.System(Parent.any, "System this device belongs to")
69
70class GHBPrefetcher(BasePrefetcher):
71 type = 'GHBPrefetcher'
72 cxx_class = 'GHBPrefetcher'
73 cxx_header = "mem/cache/prefetch/ghb.hh"
74
75class StridePrefetcher(BasePrefetcher):

--- 12 unchanged lines hidden ---
70 sys = Param.System(Parent.any, "System this device belongs to")
71
72class GHBPrefetcher(BasePrefetcher):
73 type = 'GHBPrefetcher'
74 cxx_class = 'GHBPrefetcher'
75 cxx_header = "mem/cache/prefetch/ghb.hh"
76
77class StridePrefetcher(BasePrefetcher):

--- 12 unchanged lines hidden ---