SConscript revision 12726
12221SN/A# -*- mode:python -*- 22221SN/A 32221SN/A# Copyright (c) 2006 The Regents of The University of Michigan 42221SN/A# All rights reserved. 52221SN/A# 62221SN/A# Redistribution and use in source and binary forms, with or without 72221SN/A# modification, are permitted provided that the following conditions are 82221SN/A# met: redistributions of source code must retain the above copyright 92221SN/A# notice, this list of conditions and the following disclaimer; 102221SN/A# redistributions in binary form must reproduce the above copyright 112221SN/A# notice, this list of conditions and the following disclaimer in the 122221SN/A# documentation and/or other materials provided with the distribution; 132221SN/A# neither the name of the copyright holders nor the names of its 142221SN/A# contributors may be used to endorse or promote products derived from 152221SN/A# this software without specific prior written permission. 162221SN/A# 172221SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182221SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192221SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202221SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212221SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222221SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232221SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242221SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252221SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262221SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272665Ssaidi@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu# 292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert 302221SN/A 312221SN/AImport('*') 3211793Sbrandon.potter@amd.com 3311793Sbrandon.potter@amd.comSimObject('Cache.py') 343415Sgblack@eecs.umich.edu 353415Sgblack@eecs.umich.eduSource('base.cc') 363415Sgblack@eecs.umich.eduSource('blk.cc') 378778Sgblack@eecs.umich.eduSource('cache.cc') 383578Sgblack@eecs.umich.eduSource('mshr.cc') 393415Sgblack@eecs.umich.eduSource('mshr_queue.cc') 403415Sgblack@eecs.umich.eduSource('noncoherent_cache.cc') 413415Sgblack@eecs.umich.eduSource('write_queue.cc') 422680Sktlim@umich.eduSource('write_queue_entry.cc') 433415Sgblack@eecs.umich.edu 4411793Sbrandon.potter@amd.comDebugFlag('Cache') 452800Ssaidi@eecs.umich.eduDebugFlag('CachePort') 462221SN/ADebugFlag('CacheRepl') 473415Sgblack@eecs.umich.eduDebugFlag('CacheTags') 483415Sgblack@eecs.umich.eduDebugFlag('CacheVerbose') 492223SN/ADebugFlag('HWPrefetch') 502221SN/A 512221SN/A# CacheTags is so outrageously verbose, printing the cache's entire tag 523573Sgblack@eecs.umich.edu# array on each timing access, that you should probably have to ask for 533576Sgblack@eecs.umich.edu# it explicitly even above and beyond CacheAll. 549551Sandreas.hansson@arm.comCompoundFlag('CacheAll', ['Cache', 'CachePort', 'CacheRepl', 'CacheVerbose', 552221SN/A 'HWPrefetch']) 563573Sgblack@eecs.umich.edu 573576Sgblack@eecs.umich.edu