SConscript revision 9827
12567SN/A# -*- mode:python -*- 27650SAli.Saidi@ARM.com 37650SAli.Saidi@ARM.com# Copyright (c) 2006 The Regents of The University of Michigan 47650SAli.Saidi@ARM.com# All rights reserved. 57650SAli.Saidi@ARM.com# 67650SAli.Saidi@ARM.com# Redistribution and use in source and binary forms, with or without 77650SAli.Saidi@ARM.com# modification, are permitted provided that the following conditions are 87650SAli.Saidi@ARM.com# met: redistributions of source code must retain the above copyright 97650SAli.Saidi@ARM.com# notice, this list of conditions and the following disclaimer; 107650SAli.Saidi@ARM.com# redistributions in binary form must reproduce the above copyright 117650SAli.Saidi@ARM.com# notice, this list of conditions and the following disclaimer in the 127650SAli.Saidi@ARM.com# documentation and/or other materials provided with the distribution; 137650SAli.Saidi@ARM.com# neither the name of the copyright holders nor the names of its 142567SN/A# contributors may be used to endorse or promote products derived from 152567SN/A# this software without specific prior written permission. 162567SN/A# 172567SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182567SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192567SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202567SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212567SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222567SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232567SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242567SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252567SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262567SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272567SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282567SN/A# 292567SN/A# Authors: Nathan Binkert 302567SN/A 312567SN/AImport('*') 322567SN/A 332567SN/A# Only build the communication if we have support for protobuf as the 342567SN/A# tracing relies on it 352567SN/Aif env['HAVE_PROTOBUF']: 362567SN/A SimObject('CommMonitor.py') 372567SN/A Source('comm_monitor.cc') 382567SN/A 392665SN/ASimObject('AddrMapper.py') 402665SN/ASimObject('Bridge.py') 412567SN/ASimObject('Bus.py') 422567SN/ASimObject('MemObject.py') 436757SAli.Saidi@ARM.com 446757SAli.Saidi@ARM.comSource('addr_mapper.cc') 452567SN/ASource('bridge.cc') 462567SN/ASource('bus.cc') 472567SN/ASource('coherent_bus.cc') 482567SN/ASource('mem_object.cc') 498229Snate@binkert.orgSource('mport.cc') 506757SAli.Saidi@ARM.comSource('noncoherent_bus.cc') 512567SN/ASource('packet.cc') 522567SN/ASource('port.cc') 532567SN/ASource('packet_queue.cc') 546757SAli.Saidi@ARM.comSource('tport.cc') 552567SN/ASource('port_proxy.cc') 568285SPrakash.Ramrakhyani@arm.comSource('fs_translating_port_proxy.cc') 577650SAli.Saidi@ARM.comSource('se_translating_port_proxy.cc') 587650SAli.Saidi@ARM.com 597650SAli.Saidi@ARM.comif env['TARGET_ISA'] != 'no': 607650SAli.Saidi@ARM.com SimObject('AbstractMemory.py') 617650SAli.Saidi@ARM.com SimObject('SimpleMemory.py') 627650SAli.Saidi@ARM.com SimObject('SimpleDRAM.py') 638286SAli.Saidi@ARM.com Source('abstract_mem.cc') 648286SAli.Saidi@ARM.com Source('simple_mem.cc') 658286SAli.Saidi@ARM.com Source('page_table.cc') 668286SAli.Saidi@ARM.com Source('physical.cc') 678286SAli.Saidi@ARM.com Source('simple_dram.cc') 682567SN/A 696757SAli.Saidi@ARM.comDebugFlag('BaseBus') 708286SAli.Saidi@ARM.comDebugFlag('BusAddrRanges') 718286SAli.Saidi@ARM.comDebugFlag('CoherentBus') 728286SAli.Saidi@ARM.comDebugFlag('NoncoherentBus') 738286SAli.Saidi@ARM.comCompoundFlag('Bus', ['BaseBus', 'BusAddrRanges', 'CoherentBus', 748286SAli.Saidi@ARM.com 'NoncoherentBus']) 758286SAli.Saidi@ARM.com 766757SAli.Saidi@ARM.comDebugFlag('Bridge') 776757SAli.Saidi@ARM.comDebugFlag('CommMonitor') 788286SAli.Saidi@ARM.comDebugFlag('DRAM') 798286SAli.Saidi@ARM.comDebugFlag('DRAMWR') 808286SAli.Saidi@ARM.comDebugFlag('LLSC') 818527SAli.Saidi@ARM.comDebugFlag('MMU') 828527SAli.Saidi@ARM.comDebugFlag('MemoryAccess') 838527SAli.Saidi@ARM.comDebugFlag('PacketQueue') 848527SAli.Saidi@ARM.com 858527SAli.Saidi@ARM.comDebugFlag('ProtocolTrace') 868527SAli.Saidi@ARM.comDebugFlag('RubyCache') 878527SAli.Saidi@ARM.comDebugFlag('RubyCacheTrace') 888527SAli.Saidi@ARM.comDebugFlag('RubyDma') 898527SAli.Saidi@ARM.comDebugFlag('RubyGenerated') 903553SN/ADebugFlag('RubyMemory') 913553SN/ADebugFlag('RubyNetwork') 927693SAli.Saidi@ARM.comDebugFlag('RubyPort') 937693SAli.Saidi@ARM.comDebugFlag('RubyPrefetcher') 947693SAli.Saidi@ARM.comDebugFlag('RubyQueue') 957720Sgblack@eecs.umich.eduDebugFlag('RubySequencer') 963553SN/ADebugFlag('RubySlicc') 973553SN/ADebugFlag('RubySystem') 982567SN/ADebugFlag('RubyTester') 992567SN/ADebugFlag('RubyStats') 1002567SN/ADebugFlag('RubyResourceStalls') 1012567SN/A 102CompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester', 103 'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache', 104 'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace', 105 'RubyPrefetcher']) 106