SConscript revision 8349
18889Sgeoffrey.blake@arm.com# -*- mode:python -*- 28889Sgeoffrey.blake@arm.com 38889Sgeoffrey.blake@arm.com# Copyright (c) 2006 The Regents of The University of Michigan 48889Sgeoffrey.blake@arm.com# All rights reserved. 58889Sgeoffrey.blake@arm.com# 68889Sgeoffrey.blake@arm.com# Redistribution and use in source and binary forms, with or without 78889Sgeoffrey.blake@arm.com# modification, are permitted provided that the following conditions are 88889Sgeoffrey.blake@arm.com# met: redistributions of source code must retain the above copyright 98889Sgeoffrey.blake@arm.com# notice, this list of conditions and the following disclaimer; 108889Sgeoffrey.blake@arm.com# redistributions in binary form must reproduce the above copyright 118889Sgeoffrey.blake@arm.com# notice, this list of conditions and the following disclaimer in the 128889Sgeoffrey.blake@arm.com# documentation and/or other materials provided with the distribution; 138889Sgeoffrey.blake@arm.com# neither the name of the copyright holders nor the names of its 148889Sgeoffrey.blake@arm.com# contributors may be used to endorse or promote products derived from 158889Sgeoffrey.blake@arm.com# this software without specific prior written permission. 168889Sgeoffrey.blake@arm.com# 178889Sgeoffrey.blake@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 188889Sgeoffrey.blake@arm.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 198889Sgeoffrey.blake@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 208889Sgeoffrey.blake@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 218889Sgeoffrey.blake@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 228889Sgeoffrey.blake@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 238889Sgeoffrey.blake@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 248889Sgeoffrey.blake@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 258889Sgeoffrey.blake@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 268889Sgeoffrey.blake@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 278889Sgeoffrey.blake@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 288889Sgeoffrey.blake@arm.com# 298889Sgeoffrey.blake@arm.com# Authors: Nathan Binkert 308889Sgeoffrey.blake@arm.com 318889Sgeoffrey.blake@arm.comImport('*') 328889Sgeoffrey.blake@arm.com 338889Sgeoffrey.blake@arm.comSimObject('Bridge.py') 348889Sgeoffrey.blake@arm.comSimObject('Bus.py') 358889Sgeoffrey.blake@arm.comSimObject('MemObject.py') 368889Sgeoffrey.blake@arm.com 378889Sgeoffrey.blake@arm.comSource('bridge.cc') 388889Sgeoffrey.blake@arm.comSource('bus.cc') 398889Sgeoffrey.blake@arm.comSource('mem_object.cc') 408889Sgeoffrey.blake@arm.comSource('packet.cc') 418889Sgeoffrey.blake@arm.comSource('port.cc') 428889Sgeoffrey.blake@arm.comSource('tport.cc') 438889Sgeoffrey.blake@arm.comSource('mport.cc') 448889Sgeoffrey.blake@arm.com 458889Sgeoffrey.blake@arm.comif env['TARGET_ISA'] != 'no': 468889Sgeoffrey.blake@arm.com SimObject('PhysicalMemory.py') 478889Sgeoffrey.blake@arm.com Source('dram.cc') 488889Sgeoffrey.blake@arm.com Source('physical.cc') 498889Sgeoffrey.blake@arm.com 508889Sgeoffrey.blake@arm.comif env['FULL_SYSTEM']: 518889Sgeoffrey.blake@arm.com Source('vport.cc') 528889Sgeoffrey.blake@arm.comelif env['TARGET_ISA'] != 'no': 538889Sgeoffrey.blake@arm.com Source('page_table.cc') 548889Sgeoffrey.blake@arm.com Source('translating_port.cc') 558889Sgeoffrey.blake@arm.com 568889Sgeoffrey.blake@arm.comDebugFlag('Bus') 578889Sgeoffrey.blake@arm.comDebugFlag('BusAddrRanges') 588889Sgeoffrey.blake@arm.comDebugFlag('BusBridge') 598889Sgeoffrey.blake@arm.comDebugFlag('LLSC') 608889Sgeoffrey.blake@arm.comDebugFlag('MMU') 618889Sgeoffrey.blake@arm.comDebugFlag('MemoryAccess') 628889Sgeoffrey.blake@arm.com 638889Sgeoffrey.blake@arm.comDebugFlag('ProtocolTrace') 648889Sgeoffrey.blake@arm.comDebugFlag('RubyCache') 658889Sgeoffrey.blake@arm.comDebugFlag('RubyDma') 668889Sgeoffrey.blake@arm.comDebugFlag('RubyGenerated') 678889Sgeoffrey.blake@arm.comDebugFlag('RubyMemory') 688889Sgeoffrey.blake@arm.comDebugFlag('RubyNetwork') 698889Sgeoffrey.blake@arm.comDebugFlag('RubyPort') 708889Sgeoffrey.blake@arm.comDebugFlag('RubyQueue') 718889Sgeoffrey.blake@arm.comDebugFlag('RubySlicc') 728889Sgeoffrey.blake@arm.comDebugFlag('RubyStorebuffer') 738889Sgeoffrey.blake@arm.comDebugFlag('RubyTester') 748889Sgeoffrey.blake@arm.com 758889Sgeoffrey.blake@arm.comCompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester', 768889Sgeoffrey.blake@arm.com 'RubyGenerated', 'RubySlicc', 'RubyStorebuffer', 'RubyCache', 778889Sgeoffrey.blake@arm.com 'RubyMemory', 'RubyDma', 'RubyPort']) 788889Sgeoffrey.blake@arm.com