SConscript revision 13223
1545SN/A# -*- mode:python -*-
28948Sandreas.hansson@arm.com
38948Sandreas.hansson@arm.com# Copyright (c) 2006 The Regents of The University of Michigan
48948Sandreas.hansson@arm.com# All rights reserved.
58948Sandreas.hansson@arm.com#
68948Sandreas.hansson@arm.com# Redistribution and use in source and binary forms, with or without
78948Sandreas.hansson@arm.com# modification, are permitted provided that the following conditions are
88948Sandreas.hansson@arm.com# met: redistributions of source code must retain the above copyright
98948Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer;
108948Sandreas.hansson@arm.com# redistributions in binary form must reproduce the above copyright
118948Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer in the
128948Sandreas.hansson@arm.com# documentation and/or other materials provided with the distribution;
138948Sandreas.hansson@arm.com# neither the name of the copyright holders nor the names of its
141762SN/A# contributors may be used to endorse or promote products derived from
15545SN/A# this software without specific prior written permission.
16545SN/A#
17545SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18545SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19545SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20545SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21545SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22545SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23545SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24545SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25545SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26545SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27545SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28545SN/A#
29545SN/A# Authors: Nathan Binkert
30545SN/A
31545SN/AImport('*')
32545SN/A
33545SN/ASimObject('Cache.py')
34545SN/A
35545SN/ASource('base.cc')
36545SN/ASource('cache.cc')
37545SN/ASource('cache_blk.cc')
38545SN/ASource('mshr.cc')
392665Ssaidi@eecs.umich.eduSource('mshr_queue.cc')
402665Ssaidi@eecs.umich.eduSource('noncoherent_cache.cc')
412665Ssaidi@eecs.umich.eduSource('sector_blk.cc')
42545SN/ASource('write_queue.cc')
43545SN/ASource('write_queue_entry.cc')
441310SN/A
451310SN/ADebugFlag('Cache')
46545SN/ADebugFlag('CachePort')
473348Sbinkertn@umich.eduDebugFlag('CacheRepl')
484762Snate@binkert.orgDebugFlag('CacheTags')
494762Snate@binkert.orgDebugFlag('CacheVerbose')
5013892Sgabeblack@google.comDebugFlag('HWPrefetch')
51545SN/A
522384SN/A# CacheTags is so outrageously verbose, printing the cache's entire tag
532522SN/A# array on each timing access, that you should probably have to ask for
54545SN/A# it explicitly even above and beyond CacheAll.
552489SN/ACompoundFlag('CacheAll', ['Cache', 'CachePort', 'CacheRepl', 'CacheVerbose',
562489SN/A                          'HWPrefetch'])
572489SN/A
582489SN/A