SConscript revision 10461
12139SN/A# -*- mode:python -*- 22139SN/A 32139SN/A# Copyright (c) 2006 The Regents of The University of Michigan 42139SN/A# All rights reserved. 52139SN/A# 62139SN/A# Redistribution and use in source and binary forms, with or without 72139SN/A# modification, are permitted provided that the following conditions are 82139SN/A# met: redistributions of source code must retain the above copyright 92139SN/A# notice, this list of conditions and the following disclaimer; 102139SN/A# redistributions in binary form must reproduce the above copyright 112139SN/A# notice, this list of conditions and the following disclaimer in the 122139SN/A# documentation and/or other materials provided with the distribution; 132139SN/A# neither the name of the copyright holders nor the names of its 142139SN/A# contributors may be used to endorse or promote products derived from 152139SN/A# this software without specific prior written permission. 162139SN/A# 172139SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182139SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192139SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202139SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212139SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222139SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232139SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242139SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252139SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262139SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272139SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu# 292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert 302139SN/A 314202Sbinkertn@umich.eduImport('*') 322139SN/A 334202Sbinkertn@umich.edu# Only build the communication if we have support for protobuf as the 342152SN/A# tracing relies on it 352152SN/Aif env['HAVE_PROTOBUF']: 362139SN/A SimObject('CommMonitor.py') 372139SN/A Source('comm_monitor.cc') 382139SN/A 392139SN/ASimObject('AbstractMemory.py') 402139SN/ASimObject('AddrMapper.py') 412152SN/ASimObject('Bridge.py') 422152SN/ASimObject('DRAMCtrl.py') 432139SN/ASimObject('MemObject.py') 442139SN/ASimObject('SimpleMemory.py') 452139SN/ASimObject('XBar.py') 464781Snate@binkert.org 474781Snate@binkert.orgSource('abstract_mem.cc') 484781Snate@binkert.orgSource('addr_mapper.cc') 496313Sgblack@eecs.umich.eduSource('bridge.cc') 504781Snate@binkert.orgSource('coherent_xbar.cc') 514781Snate@binkert.orgSource('drampower.cc') 523170Sstever@eecs.umich.eduSource('dram_ctrl.cc') 535664Sgblack@eecs.umich.eduSource('mem_object.cc') 543806Ssaidi@eecs.umich.eduSource('mport.cc') 556179Sksewell@umich.eduSource('noncoherent_xbar.cc') 564781Snate@binkert.orgSource('packet.cc') 574781Snate@binkert.orgSource('port.cc') 586329Sgblack@eecs.umich.eduSource('packet_queue.cc') 594781Snate@binkert.orgSource('port_proxy.cc') 604781Snate@binkert.orgSource('physical.cc') 614781Snate@binkert.orgSource('simple_mem.cc') 624781Snate@binkert.orgSource('snoop_filter.cc') 634781Snate@binkert.orgSource('tport.cc') 644781Snate@binkert.orgSource('xbar.cc') 652139SN/A 662139SN/Aif env['TARGET_ISA'] != 'null': 673546Sgblack@eecs.umich.edu Source('fs_translating_port_proxy.cc') 684202Sbinkertn@umich.edu Source('se_translating_port_proxy.cc') 692152SN/A Source('page_table.cc') 702152SN/Aif env['TARGET_ISA'] == 'x86': 712152SN/A Source('multi_level_page_table.cc') 722152SN/A 732152SN/Aif env['HAVE_DRAMSIM']: 742152SN/A SimObject('DRAMSim2.py') 752152SN/A Source('dramsim2_wrapper.cc') 762152SN/A Source('dramsim2.cc') 772152SN/A 782152SN/ADebugFlag('AddrRanges') 792152SN/ADebugFlag('BaseXBar') 802152SN/ADebugFlag('CoherentXBar') 812504SN/ADebugFlag('NoncoherentXBar') 822504SN/ADebugFlag('SnoopFilter') 832504SN/ACompoundFlag('XBar', ['BaseXBar', 'CoherentXBar', 'NoncoherentXBar', 842504SN/A 'SnoopFilter']) 852152SN/A 862504SN/ADebugFlag('Bridge') 872152SN/ADebugFlag('CommMonitor') 882152SN/ADebugFlag('DRAM') 892152SN/ADebugFlag('DRAMPower') 902152SN/ADebugFlag('DRAMState') 912152SN/ADebugFlag('LLSC') 922152SN/ADebugFlag('MMU') 936993Snate@binkert.orgDebugFlag('MemoryAccess') 946993Snate@binkert.orgDebugFlag('PacketQueue') 956993Snate@binkert.org 966993Snate@binkert.orgDebugFlag("DRAMSim2") 976993Snate@binkert.org