SConscript revision 8747
12929Sktlim@umich.edu# -*- mode:python -*- 22929Sktlim@umich.edu 32932Sktlim@umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 42929Sktlim@umich.edu# All rights reserved. 52929Sktlim@umich.edu# 62929Sktlim@umich.edu# Redistribution and use in source and binary forms, with or without 72929Sktlim@umich.edu# modification, are permitted provided that the following conditions are 82929Sktlim@umich.edu# met: redistributions of source code must retain the above copyright 92929Sktlim@umich.edu# notice, this list of conditions and the following disclaimer; 102929Sktlim@umich.edu# redistributions in binary form must reproduce the above copyright 112929Sktlim@umich.edu# notice, this list of conditions and the following disclaimer in the 122929Sktlim@umich.edu# documentation and/or other materials provided with the distribution; 132929Sktlim@umich.edu# neither the name of the copyright holders nor the names of its 142929Sktlim@umich.edu# contributors may be used to endorse or promote products derived from 152929Sktlim@umich.edu# this software without specific prior written permission. 162929Sktlim@umich.edu# 172929Sktlim@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182929Sktlim@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192929Sktlim@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202929Sktlim@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212929Sktlim@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222929Sktlim@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232929Sktlim@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242929Sktlim@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252929Sktlim@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262929Sktlim@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272929Sktlim@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282932Sktlim@umich.edu# 292932Sktlim@umich.edu# Authors: Nathan Binkert 302932Sktlim@umich.edu 312929Sktlim@umich.eduImport('*') 326007Ssteve.reinhardt@amd.com 332929Sktlim@umich.eduSimObject('Bridge.py') 342929Sktlim@umich.eduSimObject('Bus.py') 352929Sktlim@umich.eduSimObject('MemObject.py') 362929Sktlim@umich.edu 372929Sktlim@umich.eduSource('bridge.cc') 382929Sktlim@umich.eduSource('bus.cc') 392929Sktlim@umich.eduSource('mem_object.cc') 402929Sktlim@umich.eduSource('packet.cc') 412929Sktlim@umich.eduSource('port.cc') 422929Sktlim@umich.eduSource('tport.cc') 432929Sktlim@umich.eduSource('mport.cc') 442929Sktlim@umich.edu 452929Sktlim@umich.eduif env['TARGET_ISA'] != 'no': 462929Sktlim@umich.edu SimObject('PhysicalMemory.py') 476007Ssteve.reinhardt@amd.com Source('dram.cc') 486007Ssteve.reinhardt@amd.com Source('physical.cc') 496007Ssteve.reinhardt@amd.com 506007Ssteve.reinhardt@amd.comif env['FULL_SYSTEM']: 516007Ssteve.reinhardt@amd.com Source('vport.cc') 526007Ssteve.reinhardt@amd.comelif env['TARGET_ISA'] != 'no': 536007Ssteve.reinhardt@amd.com Source('page_table.cc') 546007Ssteve.reinhardt@amd.com Source('translating_port.cc') 556007Ssteve.reinhardt@amd.com 566007Ssteve.reinhardt@amd.comDebugFlag('Bus') 576007Ssteve.reinhardt@amd.comDebugFlag('BusAddrRanges') 586007Ssteve.reinhardt@amd.comDebugFlag('BusBridge') 596007Ssteve.reinhardt@amd.comDebugFlag('LLSC') 606007Ssteve.reinhardt@amd.comDebugFlag('MMU') 616007Ssteve.reinhardt@amd.comDebugFlag('MemoryAccess') 626007Ssteve.reinhardt@amd.com 636007Ssteve.reinhardt@amd.comDebugFlag('ProtocolTrace') 646007Ssteve.reinhardt@amd.comDebugFlag('RubyCache') 656007Ssteve.reinhardt@amd.comDebugFlag('RubyDma') 666007Ssteve.reinhardt@amd.comDebugFlag('RubyGenerated') 676007Ssteve.reinhardt@amd.comDebugFlag('RubyMemory') 686007Ssteve.reinhardt@amd.comDebugFlag('RubyNetwork') 696007Ssteve.reinhardt@amd.comDebugFlag('RubyPort') 706007Ssteve.reinhardt@amd.comDebugFlag('RubyQueue') 716007Ssteve.reinhardt@amd.comDebugFlag('RubySlicc') 726007Ssteve.reinhardt@amd.comDebugFlag('RubyStorebuffer') 736007Ssteve.reinhardt@amd.comDebugFlag('RubyTester') 746007Ssteve.reinhardt@amd.com 756007Ssteve.reinhardt@amd.comCompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester', 762929Sktlim@umich.edu 'RubyGenerated', 'RubySlicc', 'RubyStorebuffer', 'RubyCache', 772929Sktlim@umich.edu 'RubyMemory', 'RubyDma', 'RubyPort']) 782929Sktlim@umich.edu