SConscript revision 11012
12817Sksewell@umich.edu# -*- mode:python -*- 22817Sksewell@umich.edu 32817Sksewell@umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 42817Sksewell@umich.edu# All rights reserved. 52817Sksewell@umich.edu# 62817Sksewell@umich.edu# Redistribution and use in source and binary forms, with or without 72817Sksewell@umich.edu# modification, are permitted provided that the following conditions are 82817Sksewell@umich.edu# met: redistributions of source code must retain the above copyright 92817Sksewell@umich.edu# notice, this list of conditions and the following disclaimer; 102817Sksewell@umich.edu# redistributions in binary form must reproduce the above copyright 112817Sksewell@umich.edu# notice, this list of conditions and the following disclaimer in the 122817Sksewell@umich.edu# documentation and/or other materials provided with the distribution; 132817Sksewell@umich.edu# neither the name of the copyright holders nor the names of its 142817Sksewell@umich.edu# contributors may be used to endorse or promote products derived from 152817Sksewell@umich.edu# this software without specific prior written permission. 162817Sksewell@umich.edu# 172817Sksewell@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182817Sksewell@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192817Sksewell@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202817Sksewell@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212817Sksewell@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222817Sksewell@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232817Sksewell@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242817Sksewell@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252817Sksewell@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262817Sksewell@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272817Sksewell@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282817Sksewell@umich.edu# 294202Sbinkertn@umich.edu# Authors: Nathan Binkert 302817Sksewell@umich.edu 312817Sksewell@umich.eduImport('*') 322817Sksewell@umich.edu 334202Sbinkertn@umich.eduSimObject('CommMonitor.py') 342817Sksewell@umich.eduSource('comm_monitor.cc') 355192Ssaidi@eecs.umich.edu 365192Ssaidi@eecs.umich.eduSimObject('AbstractMemory.py') 375192Ssaidi@eecs.umich.eduSimObject('AddrMapper.py') 385192Ssaidi@eecs.umich.eduSimObject('Bridge.py') 395192Ssaidi@eecs.umich.eduSimObject('DRAMCtrl.py') 405192Ssaidi@eecs.umich.eduSimObject('ExternalMaster.py') 415192Ssaidi@eecs.umich.eduSimObject('ExternalSlave.py') 425192Ssaidi@eecs.umich.eduSimObject('MemObject.py') 435192Ssaidi@eecs.umich.eduSimObject('SimpleMemory.py') 445192Ssaidi@eecs.umich.eduSimObject('XBar.py') 454202Sbinkertn@umich.edu 464486Sbinkertn@umich.eduSource('abstract_mem.cc') 474486Sbinkertn@umich.eduSource('addr_mapper.cc') 484486Sbinkertn@umich.eduSource('bridge.cc') 494486Sbinkertn@umich.eduSource('coherent_xbar.cc') 504202Sbinkertn@umich.eduSource('drampower.cc') 514202Sbinkertn@umich.eduSource('dram_ctrl.cc') 524202Sbinkertn@umich.eduSource('external_master.cc') 534202Sbinkertn@umich.eduSource('external_slave.cc') 544202Sbinkertn@umich.eduSource('mem_object.cc') 554202Sbinkertn@umich.eduSource('mport.cc') 564202Sbinkertn@umich.eduSource('noncoherent_xbar.cc') 574202Sbinkertn@umich.eduSource('packet.cc') 584202Sbinkertn@umich.eduSource('port.cc') 594202Sbinkertn@umich.eduSource('packet_queue.cc') 604202Sbinkertn@umich.eduSource('port_proxy.cc') 614202Sbinkertn@umich.eduSource('physical.cc') 624202Sbinkertn@umich.eduSource('simple_mem.cc') 634202Sbinkertn@umich.eduSource('snoop_filter.cc') 644202Sbinkertn@umich.eduSource('stack_dist_calc.cc') 654202Sbinkertn@umich.eduSource('tport.cc') 664202Sbinkertn@umich.eduSource('xbar.cc') 674202Sbinkertn@umich.edu 682817Sksewell@umich.eduif env['TARGET_ISA'] != 'null': 695192Ssaidi@eecs.umich.edu Source('fs_translating_port_proxy.cc') 705192Ssaidi@eecs.umich.edu Source('se_translating_port_proxy.cc') 715192Ssaidi@eecs.umich.edu Source('page_table.cc') 725192Ssaidi@eecs.umich.eduif env['TARGET_ISA'] == 'x86': 735192Ssaidi@eecs.umich.edu Source('multi_level_page_table.cc') 745192Ssaidi@eecs.umich.edu 755192Ssaidi@eecs.umich.eduif env['HAVE_DRAMSIM']: 765192Ssaidi@eecs.umich.edu SimObject('DRAMSim2.py') 775192Ssaidi@eecs.umich.edu Source('dramsim2_wrapper.cc') 785192Ssaidi@eecs.umich.edu Source('dramsim2.cc') 795192Ssaidi@eecs.umich.edu 805192Ssaidi@eecs.umich.eduSimObject('MemChecker.py') 815192Ssaidi@eecs.umich.eduSource('mem_checker.cc') 825192Ssaidi@eecs.umich.eduSource('mem_checker_monitor.cc') 835192Ssaidi@eecs.umich.edu 844202Sbinkertn@umich.eduDebugFlag('AddrRanges') 854202Sbinkertn@umich.eduDebugFlag('BaseXBar') 864202Sbinkertn@umich.eduDebugFlag('CoherentXBar') 874202Sbinkertn@umich.eduDebugFlag('NoncoherentXBar') 884202Sbinkertn@umich.eduDebugFlag('SnoopFilter') 894202Sbinkertn@umich.eduCompoundFlag('XBar', ['BaseXBar', 'CoherentXBar', 'NoncoherentXBar', 904202Sbinkertn@umich.edu 'SnoopFilter']) 914202Sbinkertn@umich.edu 924202Sbinkertn@umich.eduDebugFlag('Bridge') 934202Sbinkertn@umich.eduDebugFlag('CommMonitor') 944202Sbinkertn@umich.eduDebugFlag('DRAM') 954202Sbinkertn@umich.eduDebugFlag('DRAMPower') 964202Sbinkertn@umich.eduDebugFlag('DRAMState') 974202Sbinkertn@umich.eduDebugFlag('ExternalPort') 984202Sbinkertn@umich.eduDebugFlag('LLSC') 994202Sbinkertn@umich.eduDebugFlag('MMU') 1004202Sbinkertn@umich.eduDebugFlag('MemoryAccess') 1012817Sksewell@umich.eduDebugFlag('PacketQueue') 1024202Sbinkertn@umich.eduDebugFlag('StackDist') 1034497Sbinkertn@umich.eduDebugFlag("DRAMSim2") 1044202Sbinkertn@umich.edu 105DebugFlag("MemChecker") 106DebugFlag("MemCheckerMonitor") 107