SConscript revision 9105:b576c490e7d1
12100SN/A# -*- mode:python -*- 22083SN/A 35268Sksewell@umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 45268Sksewell@umich.edu# All rights reserved. 55268Sksewell@umich.edu# 65268Sksewell@umich.edu# Redistribution and use in source and binary forms, with or without 75268Sksewell@umich.edu# modification, are permitted provided that the following conditions are 85268Sksewell@umich.edu# met: redistributions of source code must retain the above copyright 95268Sksewell@umich.edu# notice, this list of conditions and the following disclaimer; 105268Sksewell@umich.edu# redistributions in binary form must reproduce the above copyright 115268Sksewell@umich.edu# notice, this list of conditions and the following disclaimer in the 125268Sksewell@umich.edu# documentation and/or other materials provided with the distribution; 135268Sksewell@umich.edu# neither the name of the copyright holders nor the names of its 145268Sksewell@umich.edu# contributors may be used to endorse or promote products derived from 155268Sksewell@umich.edu# this software without specific prior written permission. 165268Sksewell@umich.edu# 175268Sksewell@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 185268Sksewell@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 195268Sksewell@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 205268Sksewell@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 215268Sksewell@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 225268Sksewell@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 235268Sksewell@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 245268Sksewell@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 255268Sksewell@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 265268Sksewell@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 275268Sksewell@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 285268Sksewell@umich.edu# 295268Sksewell@umich.edu# Authors: Nathan Binkert 302706Sksewell@umich.edu 312089SN/AImport('*') 322022SN/A 332089SN/ASimObject('Bridge.py') 342022SN/ASimObject('Bus.py') 352022SN/ASimObject('CommMonitor.py') 362022SN/ASimObject('MemObject.py') 372083SN/A 382239SN/ASource('bridge.cc') 394661Sksewell@umich.eduSource('bus.cc') 402239SN/ASource('coherent_bus.cc') 412083SN/ASource('comm_monitor.cc') 422083SN/ASource('mem_object.cc') 432083SN/ASource('mport.cc') 442083SN/ASource('noncoherent_bus.cc') 452083SN/ASource('packet.cc') 462083SN/ASource('port.cc') 472083SN/ASource('packet_queue.cc') 482083SN/ASource('tport.cc') 492083SN/ASource('port_proxy.cc') 502089SN/ASource('fs_translating_port_proxy.cc') 512083SN/ASource('se_translating_port_proxy.cc') 522083SN/A 532083SN/Aif env['TARGET_ISA'] != 'no': 542083SN/A SimObject('AbstractMemory.py') 552089SN/A SimObject('SimpleMemory.py') 562083SN/A Source('abstract_mem.cc') 572083SN/A Source('simple_mem.cc') 582083SN/A Source('page_table.cc') 592083SN/A Source('physical.cc') 602083SN/A 612083SN/ADebugFlag('BaseBus') 622089SN/ADebugFlag('BusAddrRanges') 632083SN/ADebugFlag('CoherentBus') 642022SN/ADebugFlag('NoncoherentBus') 652083SN/ACompoundFlag('Bus', ['BaseBus', 'BusAddrRanges', 'CoherentBus', 662022SN/A 'NoncoherentBus']) 672083SN/A 682083SN/ADebugFlag('BusBridge') 692083SN/ADebugFlag('CommMonitor') 702022SN/ADebugFlag('LLSC') 712083SN/ADebugFlag('MMU') 722083SN/ADebugFlag('MemoryAccess') 732083SN/ADebugFlag('PacketQueue') 742083SN/A 752083SN/ADebugFlag('ProtocolTrace') 762083SN/ADebugFlag('RubyCache') 772083SN/ADebugFlag('RubyCacheTrace') 782089SN/ADebugFlag('RubyDma') 792104SN/ADebugFlag('RubyGenerated') 802083SN/ADebugFlag('RubyMemory') 812083SN/ADebugFlag('RubyNetwork') 822083SN/ADebugFlag('RubyPort') 832083SN/ADebugFlag('RubyQueue') 842104SN/ADebugFlag('RubySequencer') 852089SN/ADebugFlag('RubySlicc') 862239SN/ADebugFlag('RubySystem') 872239SN/ADebugFlag('RubyTester') 882239SN/ADebugFlag('RubyStats') 892239SN/ADebugFlag('RubyResourceStalls') 902089SN/A 912089SN/ACompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester', 922089SN/A 'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache', 932089SN/A 'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace']) 942089SN/A