SConscript revision 11052
19363Snilay@cs.wisc.edu# -*- mode:python -*- 29363Snilay@cs.wisc.edu 39363Snilay@cs.wisc.edu# Copyright (c) 2012 Mark D. Hill and David A. Wood 49363Snilay@cs.wisc.edu# All rights reserved. 59363Snilay@cs.wisc.edu# 69363Snilay@cs.wisc.edu# Redistribution and use in source and binary forms, with or without 79363Snilay@cs.wisc.edu# modification, are permitted provided that the following conditions are 89363Snilay@cs.wisc.edu# met: redistributions of source code must retain the above copyright 99363Snilay@cs.wisc.edu# notice, this list of conditions and the following disclaimer; 109363Snilay@cs.wisc.edu# redistributions in binary form must reproduce the above copyright 119363Snilay@cs.wisc.edu# notice, this list of conditions and the following disclaimer in the 129363Snilay@cs.wisc.edu# documentation and/or other materials provided with the distribution; 139363Snilay@cs.wisc.edu# neither the name of the copyright holders nor the names of its 149363Snilay@cs.wisc.edu# contributors may be used to endorse or promote products derived from 159363Snilay@cs.wisc.edu# this software without specific prior written permission. 169363Snilay@cs.wisc.edu# 179363Snilay@cs.wisc.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 189363Snilay@cs.wisc.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 199363Snilay@cs.wisc.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 209363Snilay@cs.wisc.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 219363Snilay@cs.wisc.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 229363Snilay@cs.wisc.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 239363Snilay@cs.wisc.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 249363Snilay@cs.wisc.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 259363Snilay@cs.wisc.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 269363Snilay@cs.wisc.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 279363Snilay@cs.wisc.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 289363Snilay@cs.wisc.edu# 299363Snilay@cs.wisc.edu# Authors: Nilay Vaish 309363Snilay@cs.wisc.edu 319363Snilay@cs.wisc.eduImport('*') 329363Snilay@cs.wisc.edu 339363Snilay@cs.wisc.eduif env['PROTOCOL'] == 'None': 349363Snilay@cs.wisc.edu Return() 359363Snilay@cs.wisc.edu 3611052Sandreas.hansson@arm.comSimObject('RubyCache.py') 3710301Snilay@cs.wisc.eduSimObject('DirectoryMemory.py') 3810970Sdavid.hashe@amd.comSimObject('LRUReplacementPolicy.py') 3910970Sdavid.hashe@amd.comSimObject('PseudoLRUReplacementPolicy.py') 4010970Sdavid.hashe@amd.comSimObject('ReplacementPolicy.py') 4110301Snilay@cs.wisc.eduSimObject('RubyMemoryControl.py') 429363Snilay@cs.wisc.eduSimObject('RubyPrefetcher.py') 4310301Snilay@cs.wisc.eduSimObject('WireBuffer.py') 4410301Snilay@cs.wisc.edu 4510970Sdavid.hashe@amd.comSource('AbstractReplacementPolicy.cc') 4610301Snilay@cs.wisc.eduSource('DirectoryMemory.cc') 4710301Snilay@cs.wisc.eduSource('CacheMemory.cc') 4810970Sdavid.hashe@amd.comSource('LRUPolicy.cc') 4910970Sdavid.hashe@amd.comSource('PseudoLRUPolicy.cc') 5010301Snilay@cs.wisc.eduSource('WireBuffer.cc') 5110301Snilay@cs.wisc.eduSource('RubyMemoryControl.cc') 5210301Snilay@cs.wisc.eduSource('MemoryNode.cc') 5310301Snilay@cs.wisc.eduSource('PersistentTable.cc') 549363Snilay@cs.wisc.eduSource('Prefetcher.cc') 5510301Snilay@cs.wisc.eduSource('TimerTable.cc') 5610301Snilay@cs.wisc.eduSource('BankedArray.cc') 57