SConscript revision 8799:dac1e33e07b0
12686Sksewell@umich.edu# -*- mode:python -*- 22686Sksewell@umich.edu 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 305268Sksewell@umich.edu 312706Sksewell@umich.eduImport('*') 322686Sksewell@umich.edu 332686Sksewell@umich.eduSimObject('Bridge.py') 344661Sksewell@umich.eduSimObject('Bus.py') 352686Sksewell@umich.eduSimObject('MemObject.py') 362686Sksewell@umich.edu 372686Sksewell@umich.eduSource('bridge.cc') 382686Sksewell@umich.eduSource('bus.cc') 392686Sksewell@umich.eduSource('mem_object.cc') 404661Sksewell@umich.eduSource('mport.cc') 412686Sksewell@umich.eduSource('packet.cc') 422686Sksewell@umich.eduSource('port.cc') 432686Sksewell@umich.eduSource('tport.cc') 442686Sksewell@umich.eduSource('fs_translating_port_proxy.cc') 454661Sksewell@umich.eduSource('se_translating_port_proxy.cc') 462686Sksewell@umich.edu 472686Sksewell@umich.eduif env['TARGET_ISA'] != 'no': 482686Sksewell@umich.edu SimObject('PhysicalMemory.py') 492686Sksewell@umich.edu Source('dram.cc') 502686Sksewell@umich.edu Source('page_table.cc') 512686Sksewell@umich.edu Source('physical.cc') 525222Sksewell@umich.edu 535222Sksewell@umich.eduDebugFlag('Bus') 545222Sksewell@umich.eduDebugFlag('BusAddrRanges') 555222Sksewell@umich.eduDebugFlag('BusBridge') 565222Sksewell@umich.eduDebugFlag('LLSC') 575222Sksewell@umich.eduDebugFlag('MMU') 585222Sksewell@umich.eduDebugFlag('MemoryAccess') 595222Sksewell@umich.edu 605222Sksewell@umich.eduDebugFlag('ProtocolTrace') 615222Sksewell@umich.eduDebugFlag('RubyCache') 625222Sksewell@umich.eduDebugFlag('RubyCacheTrace') 635222Sksewell@umich.eduDebugFlag('RubyDma') 645222Sksewell@umich.eduDebugFlag('RubyGenerated') 652686Sksewell@umich.eduDebugFlag('RubyMemory') 664661Sksewell@umich.eduDebugFlag('RubyNetwork') 672686Sksewell@umich.eduDebugFlag('RubyPort') 682686Sksewell@umich.eduDebugFlag('RubyQueue') 692686Sksewell@umich.eduDebugFlag('RubySequencer') 702686Sksewell@umich.eduDebugFlag('RubySlicc') 712686Sksewell@umich.eduDebugFlag('RubySystem') 724661Sksewell@umich.eduDebugFlag('RubyTester') 732686Sksewell@umich.edu 742686Sksewell@umich.eduCompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester', 752686Sksewell@umich.edu 'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache', 762686Sksewell@umich.edu 'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace']) 772686Sksewell@umich.edu