memcheck.py (10887:279efb97ec99) memcheck.py (11053:62544e45c0f4)
1# Copyright (c) 2015 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

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

147 print "Error: Must have at least one cache per level"
148 multiplier.append(multiplier[-1] * c)
149
150numtesters = 0
151for t, m in zip(testerspec, multiplier):
152 numtesters += t * m
153
154# Define a prototype L1 cache that we scale for all successive levels
1# Copyright (c) 2015 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

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

147 print "Error: Must have at least one cache per level"
148 multiplier.append(multiplier[-1] * c)
149
150numtesters = 0
151for t, m in zip(testerspec, multiplier):
152 numtesters += t * m
153
154# Define a prototype L1 cache that we scale for all successive levels
155proto_l1 = BaseCache(size = '32kB', assoc = 4,
156 hit_latency = 1, response_latency = 1,
157 tgts_per_mshr = 8)
155proto_l1 = Cache(size = '32kB', assoc = 4,
156 hit_latency = 1, response_latency = 1,
157 tgts_per_mshr = 8)
158
159if options.blocking:
160 proto_l1.mshrs = 1
161else:
162 proto_l1.mshrs = 4
163
164if options.prefetchers:
165 proto_l1.prefetcher = TaggedPrefetcher()

--- 140 unchanged lines hidden ---
158
159if options.blocking:
160 proto_l1.mshrs = 1
161else:
162 proto_l1.mshrs = 4
163
164if options.prefetchers:
165 proto_l1.prefetcher = TaggedPrefetcher()

--- 140 unchanged lines hidden ---