SConscript revision 13223
14997Sgblack@eecs.umich.edu# -*- mode:python -*- 24997Sgblack@eecs.umich.edu 34997Sgblack@eecs.umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 44997Sgblack@eecs.umich.edu# All rights reserved. 54997Sgblack@eecs.umich.edu# 64997Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 74997Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are 84997Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright 94997Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer; 104997Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 114997Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the 124997Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution; 134997Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its 144997Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 154997Sgblack@eecs.umich.edu# this software without specific prior written permission. 164997Sgblack@eecs.umich.edu# 174997Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 184997Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 194997Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 204997Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 214997Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 224997Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 234997Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 244997Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 254997Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 264997Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 274997Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 284997Sgblack@eecs.umich.edu# 294997Sgblack@eecs.umich.edu# Authors: Nathan Binkert 304997Sgblack@eecs.umich.edu 314997Sgblack@eecs.umich.eduImport('*') 324997Sgblack@eecs.umich.edu 334997Sgblack@eecs.umich.eduSimObject('Cache.py') 344997Sgblack@eecs.umich.edu 354997Sgblack@eecs.umich.eduSource('base.cc') 364997Sgblack@eecs.umich.eduSource('cache.cc') 374997Sgblack@eecs.umich.eduSource('cache_blk.cc') 384997Sgblack@eecs.umich.eduSource('mshr.cc') 394997Sgblack@eecs.umich.eduSource('mshr_queue.cc') 404997Sgblack@eecs.umich.eduSource('noncoherent_cache.cc') 414997Sgblack@eecs.umich.eduSource('sector_blk.cc') 424997Sgblack@eecs.umich.eduSource('write_queue.cc') 434997Sgblack@eecs.umich.eduSource('write_queue_entry.cc') 444997Sgblack@eecs.umich.edu 454997Sgblack@eecs.umich.eduDebugFlag('Cache') 464997Sgblack@eecs.umich.eduDebugFlag('CachePort') 474997Sgblack@eecs.umich.eduDebugFlag('CacheRepl') 484997Sgblack@eecs.umich.eduDebugFlag('CacheTags') 494997Sgblack@eecs.umich.eduDebugFlag('CacheVerbose') 504997Sgblack@eecs.umich.eduDebugFlag('HWPrefetch') 514997Sgblack@eecs.umich.edu 524997Sgblack@eecs.umich.edu# CacheTags is so outrageously verbose, printing the cache's entire tag 534997Sgblack@eecs.umich.edu# array on each timing access, that you should probably have to ask for 544997Sgblack@eecs.umich.edu# it explicitly even above and beyond CacheAll. 554997Sgblack@eecs.umich.eduCompoundFlag('CacheAll', ['Cache', 'CachePort', 'CacheRepl', 'CacheVerbose', 566654Snate@binkert.org 'HWPrefetch']) 574997Sgblack@eecs.umich.edu 585237Sgblack@eecs.umich.edu