SConscript revision 9105:b576c490e7d1
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('CommMonitor.py') 368889Sgeoffrey.blake@arm.comSimObject('MemObject.py') 378889Sgeoffrey.blake@arm.com 388889Sgeoffrey.blake@arm.comSource('bridge.cc') 398889Sgeoffrey.blake@arm.comSource('bus.cc') 408889Sgeoffrey.blake@arm.comSource('coherent_bus.cc') 418889Sgeoffrey.blake@arm.comSource('comm_monitor.cc') 428889Sgeoffrey.blake@arm.comSource('mem_object.cc') 438889Sgeoffrey.blake@arm.comSource('mport.cc') 448889Sgeoffrey.blake@arm.comSource('noncoherent_bus.cc') 458889Sgeoffrey.blake@arm.comSource('packet.cc') 468889Sgeoffrey.blake@arm.comSource('port.cc') 478889Sgeoffrey.blake@arm.comSource('packet_queue.cc') 488889Sgeoffrey.blake@arm.comSource('tport.cc') 498889Sgeoffrey.blake@arm.comSource('port_proxy.cc') 508889Sgeoffrey.blake@arm.comSource('fs_translating_port_proxy.cc') 518889Sgeoffrey.blake@arm.comSource('se_translating_port_proxy.cc') 528889Sgeoffrey.blake@arm.com 538889Sgeoffrey.blake@arm.comif env['TARGET_ISA'] != 'no': 548889Sgeoffrey.blake@arm.com SimObject('AbstractMemory.py') 558889Sgeoffrey.blake@arm.com SimObject('SimpleMemory.py') 568889Sgeoffrey.blake@arm.com Source('abstract_mem.cc') 578889Sgeoffrey.blake@arm.com Source('simple_mem.cc') 588889Sgeoffrey.blake@arm.com Source('page_table.cc') 598889Sgeoffrey.blake@arm.com Source('physical.cc') 608889Sgeoffrey.blake@arm.com 618889Sgeoffrey.blake@arm.comDebugFlag('BaseBus') 628889Sgeoffrey.blake@arm.comDebugFlag('BusAddrRanges') 638889Sgeoffrey.blake@arm.comDebugFlag('CoherentBus') 648889Sgeoffrey.blake@arm.comDebugFlag('NoncoherentBus') 658889Sgeoffrey.blake@arm.comCompoundFlag('Bus', ['BaseBus', 'BusAddrRanges', 'CoherentBus', 668889Sgeoffrey.blake@arm.com 'NoncoherentBus']) 678889Sgeoffrey.blake@arm.com 688889Sgeoffrey.blake@arm.comDebugFlag('BusBridge') 698889Sgeoffrey.blake@arm.comDebugFlag('CommMonitor') 708889Sgeoffrey.blake@arm.comDebugFlag('LLSC') 718889Sgeoffrey.blake@arm.comDebugFlag('MMU') 728889Sgeoffrey.blake@arm.comDebugFlag('MemoryAccess') 738889Sgeoffrey.blake@arm.comDebugFlag('PacketQueue') 748889Sgeoffrey.blake@arm.com 758889Sgeoffrey.blake@arm.comDebugFlag('ProtocolTrace') 768889Sgeoffrey.blake@arm.comDebugFlag('RubyCache') 778889Sgeoffrey.blake@arm.comDebugFlag('RubyCacheTrace') 788889Sgeoffrey.blake@arm.comDebugFlag('RubyDma') 798889Sgeoffrey.blake@arm.comDebugFlag('RubyGenerated') 808889Sgeoffrey.blake@arm.comDebugFlag('RubyMemory') 818889Sgeoffrey.blake@arm.comDebugFlag('RubyNetwork') 828889Sgeoffrey.blake@arm.comDebugFlag('RubyPort') 838889Sgeoffrey.blake@arm.comDebugFlag('RubyQueue') 848889Sgeoffrey.blake@arm.comDebugFlag('RubySequencer') 858889Sgeoffrey.blake@arm.comDebugFlag('RubySlicc') 868889Sgeoffrey.blake@arm.comDebugFlag('RubySystem') 878889Sgeoffrey.blake@arm.comDebugFlag('RubyTester') 888889Sgeoffrey.blake@arm.comDebugFlag('RubyStats') 898889Sgeoffrey.blake@arm.comDebugFlag('RubyResourceStalls') 908889Sgeoffrey.blake@arm.com 918889Sgeoffrey.blake@arm.comCompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester', 928889Sgeoffrey.blake@arm.com 'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache', 938889Sgeoffrey.blake@arm.com 'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace']) 948889Sgeoffrey.blake@arm.com