SConscript revision 11288
16019Shines@cs.fsu.edu# -*- mode:python -*- 212509Schuan.zhu@arm.com 37093Sgblack@eecs.umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 47093Sgblack@eecs.umich.edu# All rights reserved. 57093Sgblack@eecs.umich.edu# 67093Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 77093Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are 87093Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright 97093Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer; 107093Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 117093Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the 127093Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution; 137093Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its 146019Shines@cs.fsu.edu# contributors may be used to endorse or promote products derived from 156019Shines@cs.fsu.edu# this software without specific prior written permission. 166019Shines@cs.fsu.edu# 176019Shines@cs.fsu.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 186019Shines@cs.fsu.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 196019Shines@cs.fsu.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 206019Shines@cs.fsu.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 216019Shines@cs.fsu.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 226019Shines@cs.fsu.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 236019Shines@cs.fsu.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 246019Shines@cs.fsu.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 256019Shines@cs.fsu.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 266019Shines@cs.fsu.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 276019Shines@cs.fsu.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 286019Shines@cs.fsu.edu# 296019Shines@cs.fsu.edu# Authors: Nathan Binkert 306019Shines@cs.fsu.edu 316019Shines@cs.fsu.eduImport('*') 326019Shines@cs.fsu.edu 336019Shines@cs.fsu.eduSimObject('Cache.py') 346019Shines@cs.fsu.edu 356019Shines@cs.fsu.eduSource('base.cc') 366019Shines@cs.fsu.eduSource('cache.cc') 376019Shines@cs.fsu.eduSource('blk.cc') 386019Shines@cs.fsu.eduSource('mshr.cc') 396019Shines@cs.fsu.eduSource('mshr_queue.cc') 406019Shines@cs.fsu.edu 416735Sgblack@eecs.umich.eduDebugFlag('Cache') 426735Sgblack@eecs.umich.eduDebugFlag('CachePort') 4310037SARM gem5 DevelopersDebugFlag('CacheRepl') 4410037SARM gem5 DevelopersDebugFlag('CacheTags') 456019Shines@cs.fsu.eduDebugFlag('CacheVerbose') 466019Shines@cs.fsu.eduDebugFlag('HWPrefetch') 476019Shines@cs.fsu.edu 4811793Sbrandon.potter@amd.com# CacheTags is so outrageously verbose, printing the cache's entire tag 4911793Sbrandon.potter@amd.com# array on each timing access, that you should probably have to ask for 5010037SARM gem5 Developers# it explicitly even above and beyond CacheAll. 5110037SARM gem5 DevelopersCompoundFlag('CacheAll', ['Cache', 'CachePort', 'CacheRepl', 'CacheVerbose', 5210037SARM gem5 Developers 'HWPrefetch']) 538229Snate@binkert.org 548229Snate@binkert.org