SConscript revision 11375
12023SN/A# -*- mode:python -*-
22023SN/A
32023SN/A# Copyright (c) 2006 The Regents of The University of Michigan
42023SN/A# All rights reserved.
52023SN/A#
62023SN/A# Redistribution and use in source and binary forms, with or without
72023SN/A# modification, are permitted provided that the following conditions are
82023SN/A# met: redistributions of source code must retain the above copyright
92023SN/A# notice, this list of conditions and the following disclaimer;
102023SN/A# redistributions in binary form must reproduce the above copyright
112023SN/A# notice, this list of conditions and the following disclaimer in the
122023SN/A# documentation and/or other materials provided with the distribution;
132023SN/A# neither the name of the copyright holders nor the names of its
142023SN/A# contributors may be used to endorse or promote products derived from
152023SN/A# this software without specific prior written permission.
162023SN/A#
172023SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182023SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192023SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202023SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212023SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222023SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232023SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242023SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252023SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262023SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272023SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert
302665Ssaidi@eecs.umich.edu
312023SN/AImport('*')
324202Sbinkertn@umich.edu
332023SN/ASimObject('Cache.py')
344202Sbinkertn@umich.edu
359022Sgblack@eecs.umich.eduSource('base.cc')
364997Sgblack@eecs.umich.eduSource('cache.cc')
374202Sbinkertn@umich.eduSource('blk.cc')
388780Sgblack@eecs.umich.eduSource('mshr.cc')
398780Sgblack@eecs.umich.eduSource('mshr_queue.cc')
408745Sgblack@eecs.umich.eduSource('write_queue.cc')
414997Sgblack@eecs.umich.eduSource('write_queue_entry.cc')
426313Sgblack@eecs.umich.edu
438777Sgblack@eecs.umich.eduDebugFlag('Cache')
448780Sgblack@eecs.umich.eduDebugFlag('CachePort')
458780Sgblack@eecs.umich.eduDebugFlag('CacheRepl')
468780Sgblack@eecs.umich.eduDebugFlag('CacheTags')
478777Sgblack@eecs.umich.eduDebugFlag('CacheVerbose')
484997Sgblack@eecs.umich.eduDebugFlag('HWPrefetch')
498780Sgblack@eecs.umich.edu
506327Sgblack@eecs.umich.edu# CacheTags is so outrageously verbose, printing the cache's entire tag
514202Sbinkertn@umich.edu# array on each timing access, that you should probably have to ask for
528777Sgblack@eecs.umich.edu# it explicitly even above and beyond CacheAll.
538780Sgblack@eecs.umich.eduCompoundFlag('CacheAll', ['Cache', 'CachePort', 'CacheRepl', 'CacheVerbose',
544997Sgblack@eecs.umich.edu                          'HWPrefetch'])
558780Sgblack@eecs.umich.edu
568780Sgblack@eecs.umich.edu