SConscript revision 10478
1955SN/A# -*- mode:python -*- 2955SN/A 31762SN/A# Copyright (c) 2006 The Regents of The University of Michigan 4955SN/A# All rights reserved. 5955SN/A# 6955SN/A# Redistribution and use in source and binary forms, with or without 7955SN/A# modification, are permitted provided that the following conditions are 8955SN/A# met: redistributions of source code must retain the above copyright 9955SN/A# notice, this list of conditions and the following disclaimer; 10955SN/A# redistributions in binary form must reproduce the above copyright 11955SN/A# notice, this list of conditions and the following disclaimer in the 12955SN/A# documentation and/or other materials provided with the distribution; 13955SN/A# neither the name of the copyright holders nor the names of its 14955SN/A# contributors may be used to endorse or promote products derived from 15955SN/A# this software without specific prior written permission. 16955SN/A# 17955SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19955SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26955SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27955SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu# 294762Snate@binkert.org# Authors: Nathan Binkert 30955SN/A 315522Snate@binkert.orgImport('*') 326143Snate@binkert.org 334762Snate@binkert.org# Only build the communication if we have support for protobuf as the 345522Snate@binkert.org# tracing relies on it 35955SN/Aif env['HAVE_PROTOBUF']: 365522Snate@binkert.org SimObject('CommMonitor.py') 37955SN/A Source('comm_monitor.cc') 385522Snate@binkert.org 394202Sbinkertn@umich.eduSimObject('AbstractMemory.py') 405742Snate@binkert.orgSimObject('AddrMapper.py') 41955SN/ASimObject('Bridge.py') 424381Sbinkertn@umich.eduSimObject('DRAMCtrl.py') 434381Sbinkertn@umich.eduSimObject('ExternalMaster.py') 448334Snate@binkert.orgSimObject('ExternalSlave.py') 45955SN/ASimObject('MemObject.py') 46955SN/ASimObject('SimpleMemory.py') 474202Sbinkertn@umich.eduSimObject('XBar.py') 48955SN/A 494382Sbinkertn@umich.eduSource('abstract_mem.cc') 504382Sbinkertn@umich.eduSource('addr_mapper.cc') 514382Sbinkertn@umich.eduSource('bridge.cc') 526654Snate@binkert.orgSource('coherent_xbar.cc') 535517Snate@binkert.orgSource('drampower.cc') 548614Sgblack@eecs.umich.eduSource('dram_ctrl.cc') 557674Snate@binkert.orgSource('external_master.cc') 566143Snate@binkert.orgSource('external_slave.cc') 576143Snate@binkert.orgSource('mem_object.cc') 586143Snate@binkert.orgSource('mport.cc') 598233Snate@binkert.orgSource('noncoherent_xbar.cc') 608233Snate@binkert.orgSource('packet.cc') 618233Snate@binkert.orgSource('port.cc') 628233Snate@binkert.orgSource('packet_queue.cc') 638233Snate@binkert.orgSource('port_proxy.cc') 648334Snate@binkert.orgSource('physical.cc') 658334Snate@binkert.orgSource('simple_mem.cc') 668233Snate@binkert.orgSource('snoop_filter.cc') 678233Snate@binkert.orgSource('tport.cc') 688233Snate@binkert.orgSource('xbar.cc') 698233Snate@binkert.org 708233Snate@binkert.orgif env['TARGET_ISA'] != 'null': 718233Snate@binkert.org Source('fs_translating_port_proxy.cc') 726143Snate@binkert.org Source('se_translating_port_proxy.cc') 738233Snate@binkert.org Source('page_table.cc') 748233Snate@binkert.orgif env['TARGET_ISA'] == 'x86': 758233Snate@binkert.org Source('multi_level_page_table.cc') 766143Snate@binkert.org 776143Snate@binkert.orgif env['HAVE_DRAMSIM']: 786143Snate@binkert.org SimObject('DRAMSim2.py') 796143Snate@binkert.org Source('dramsim2_wrapper.cc') 808233Snate@binkert.org Source('dramsim2.cc') 818233Snate@binkert.org 828233Snate@binkert.orgDebugFlag('AddrRanges') 836143Snate@binkert.orgDebugFlag('BaseXBar') 848233Snate@binkert.orgDebugFlag('CoherentXBar') 858233Snate@binkert.orgDebugFlag('NoncoherentXBar') 868233Snate@binkert.orgDebugFlag('SnoopFilter') 878233Snate@binkert.orgCompoundFlag('XBar', ['BaseXBar', 'CoherentXBar', 'NoncoherentXBar', 886143Snate@binkert.org 'SnoopFilter']) 896143Snate@binkert.org 906143Snate@binkert.orgDebugFlag('Bridge') 914762Snate@binkert.orgDebugFlag('CommMonitor') 926143Snate@binkert.orgDebugFlag('DRAM') 938233Snate@binkert.orgDebugFlag('DRAMPower') 948233Snate@binkert.orgDebugFlag('DRAMState') 958233Snate@binkert.orgDebugFlag('ExternalPort') 968233Snate@binkert.orgDebugFlag('LLSC') 978233Snate@binkert.orgDebugFlag('MMU') 986143Snate@binkert.orgDebugFlag('MemoryAccess') 998233Snate@binkert.orgDebugFlag('PacketQueue') 1008233Snate@binkert.org 1018233Snate@binkert.orgDebugFlag("DRAMSim2") 1028233Snate@binkert.org