SConscript revision 8747
12817Sksewell@umich.edu# -*- mode:python -*- 22817Sksewell@umich.edu 32817Sksewell@umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 42817Sksewell@umich.edu# All rights reserved. 52817Sksewell@umich.edu# 62817Sksewell@umich.edu# Redistribution and use in source and binary forms, with or without 72817Sksewell@umich.edu# modification, are permitted provided that the following conditions are 82817Sksewell@umich.edu# met: redistributions of source code must retain the above copyright 92817Sksewell@umich.edu# notice, this list of conditions and the following disclaimer; 102817Sksewell@umich.edu# redistributions in binary form must reproduce the above copyright 112817Sksewell@umich.edu# notice, this list of conditions and the following disclaimer in the 122817Sksewell@umich.edu# documentation and/or other materials provided with the distribution; 132817Sksewell@umich.edu# neither the name of the copyright holders nor the names of its 142817Sksewell@umich.edu# contributors may be used to endorse or promote products derived from 152817Sksewell@umich.edu# this software without specific prior written permission. 162817Sksewell@umich.edu# 172817Sksewell@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182817Sksewell@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192817Sksewell@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202817Sksewell@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212817Sksewell@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222817Sksewell@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232817Sksewell@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242817Sksewell@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252817Sksewell@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262817Sksewell@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272817Sksewell@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282817Sksewell@umich.edu# 292817Sksewell@umich.edu# Authors: Nathan Binkert 302817Sksewell@umich.edu 312817Sksewell@umich.eduImport('*') 322817Sksewell@umich.edu 332817Sksewell@umich.eduSimObject('Bridge.py') 342817Sksewell@umich.eduSimObject('Bus.py') 352817Sksewell@umich.eduSimObject('MemObject.py') 362817Sksewell@umich.edu 372817Sksewell@umich.eduSource('bridge.cc') 382817Sksewell@umich.eduSource('bus.cc') 392817Sksewell@umich.eduSource('mem_object.cc') 402817Sksewell@umich.eduSource('packet.cc') 412817Sksewell@umich.eduSource('port.cc') 422817Sksewell@umich.eduSource('tport.cc') 432817Sksewell@umich.eduSource('mport.cc') 442817Sksewell@umich.edu 452817Sksewell@umich.eduif env['TARGET_ISA'] != 'no': 462817Sksewell@umich.edu SimObject('PhysicalMemory.py') 472817Sksewell@umich.edu Source('dram.cc') 482817Sksewell@umich.edu Source('physical.cc') 492817Sksewell@umich.edu 502817Sksewell@umich.eduif env['FULL_SYSTEM']: 512817Sksewell@umich.edu Source('vport.cc') 522817Sksewell@umich.eduelif env['TARGET_ISA'] != 'no': 532817Sksewell@umich.edu Source('page_table.cc') 542817Sksewell@umich.edu Source('translating_port.cc') 552817Sksewell@umich.edu 562817Sksewell@umich.eduDebugFlag('Bus') 572817Sksewell@umich.eduDebugFlag('BusAddrRanges') 582817Sksewell@umich.eduDebugFlag('BusBridge') 592817Sksewell@umich.eduDebugFlag('LLSC') 602817Sksewell@umich.eduDebugFlag('MMU') 612817Sksewell@umich.eduDebugFlag('MemoryAccess') 622817Sksewell@umich.edu 632817Sksewell@umich.eduDebugFlag('ProtocolTrace') 642817Sksewell@umich.eduDebugFlag('RubyCache') 652817Sksewell@umich.eduDebugFlag('RubyDma') 662817Sksewell@umich.eduDebugFlag('RubyGenerated') 672817Sksewell@umich.eduDebugFlag('RubyMemory') 682817Sksewell@umich.eduDebugFlag('RubyNetwork') 692817Sksewell@umich.eduDebugFlag('RubyPort') 702817Sksewell@umich.eduDebugFlag('RubyQueue') 712817Sksewell@umich.eduDebugFlag('RubySlicc') 722817Sksewell@umich.eduDebugFlag('RubyStorebuffer') 732817Sksewell@umich.eduDebugFlag('RubyTester') 742817Sksewell@umich.edu 752817Sksewell@umich.eduCompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester', 762817Sksewell@umich.edu 'RubyGenerated', 'RubySlicc', 'RubyStorebuffer', 'RubyCache', 772817Sksewell@umich.edu 'RubyMemory', 'RubyDma', 'RubyPort']) 782817Sksewell@umich.edu