SConscript revision 9340
12155SN/A# -*- mode:python -*- 22155SN/A 32155SN/A# Copyright (c) 2006 The Regents of The University of Michigan 42155SN/A# All rights reserved. 52155SN/A# 62155SN/A# Redistribution and use in source and binary forms, with or without 72155SN/A# modification, are permitted provided that the following conditions are 82155SN/A# met: redistributions of source code must retain the above copyright 92155SN/A# notice, this list of conditions and the following disclaimer; 102155SN/A# redistributions in binary form must reproduce the above copyright 112155SN/A# notice, this list of conditions and the following disclaimer in the 122155SN/A# documentation and/or other materials provided with the distribution; 132155SN/A# neither the name of the copyright holders nor the names of its 142155SN/A# contributors may be used to endorse or promote products derived from 152155SN/A# this software without specific prior written permission. 162155SN/A# 172155SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182155SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192155SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202155SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212155SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222155SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232155SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242155SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252155SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262155SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272155SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu# 292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert 302155SN/A 314202Sbinkertn@umich.eduImport('*') 322155SN/A 339850Sandreas.hansson@arm.comSimObject('AddrMapper.py') 349850Sandreas.hansson@arm.comSimObject('Bridge.py') 359850Sandreas.hansson@arm.comSimObject('Bus.py') 367768SAli.Saidi@ARM.comSimObject('CommMonitor.py') 377768SAli.Saidi@ARM.comSimObject('MemObject.py') 382178SN/A 392178SN/ASource('addr_mapper.cc') 402178SN/ASource('bridge.cc') 412178SN/ASource('bus.cc') 422178SN/ASource('coherent_bus.cc') 432178SN/ASource('comm_monitor.cc') 442178SN/ASource('mem_object.cc') 452178SN/ASource('mport.cc') 462178SN/ASource('noncoherent_bus.cc') 472178SN/ASource('packet.cc') 482178SN/ASource('port.cc') 492155SN/ASource('packet_queue.cc') 505865Sksewell@umich.eduSource('tport.cc') 516181Sksewell@umich.eduSource('port_proxy.cc') 526181Sksewell@umich.eduSource('fs_translating_port_proxy.cc') 535865Sksewell@umich.eduSource('se_translating_port_proxy.cc') 543918Ssaidi@eecs.umich.edu 555865Sksewell@umich.eduif env['TARGET_ISA'] != 'no': 562623SN/A SimObject('AbstractMemory.py') 573918Ssaidi@eecs.umich.edu SimObject('SimpleMemory.py') 582155SN/A SimObject('SimpleDRAM.py') 592155SN/A Source('abstract_mem.cc') 602292SN/A Source('simple_mem.cc') 616181Sksewell@umich.edu Source('page_table.cc') 626181Sksewell@umich.edu Source('physical.cc') 633918Ssaidi@eecs.umich.edu Source('simple_dram.cc') 642292SN/A 652292SN/ADebugFlag('BaseBus') 662292SN/ADebugFlag('BusAddrRanges') 673918Ssaidi@eecs.umich.eduDebugFlag('CoherentBus') 682292SN/ADebugFlag('NoncoherentBus') 692292SN/ACompoundFlag('Bus', ['BaseBus', 'BusAddrRanges', 'CoherentBus', 702766Sktlim@umich.edu 'NoncoherentBus']) 712766Sktlim@umich.edu 722766Sktlim@umich.eduDebugFlag('Bridge') 732921Sktlim@umich.eduDebugFlag('CommMonitor') 748887Sgeoffrey.blake@arm.comDebugFlag('DRAM') 758887Sgeoffrey.blake@arm.comDebugFlag('DRAMWR') 762766Sktlim@umich.eduDebugFlag('LLSC') 774762Snate@binkert.orgDebugFlag('MMU') 782155SN/ADebugFlag('MemoryAccess') 792155SN/ADebugFlag('PacketQueue') 802155SN/A 812155SN/ADebugFlag('ProtocolTrace') 822155SN/ADebugFlag('RubyCache') 832155SN/ADebugFlag('RubyCacheTrace') 842766Sktlim@umich.eduDebugFlag('RubyDma') 852155SN/ADebugFlag('RubyGenerated') 865865Sksewell@umich.eduDebugFlag('RubyMemory') 872155SN/ADebugFlag('RubyNetwork') 882155SN/ADebugFlag('RubyPort') 892155SN/ADebugFlag('RubyQueue') 902155SN/ADebugFlag('RubySequencer') 912178SN/ADebugFlag('RubySlicc') 922178SN/ADebugFlag('RubySystem') 937756SAli.Saidi@ARM.comDebugFlag('RubyTester') 942766Sktlim@umich.eduDebugFlag('RubyStats') 952178SN/ADebugFlag('RubyResourceStalls') 962178SN/A 976994Snate@binkert.orgCompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester', 982178SN/A 'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache', 992766Sktlim@umich.edu 'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace']) 1002766Sktlim@umich.edu