SConscript revision 8799
1955SN/A# -*- mode:python -*-
2955SN/A
313576Sciro.santilli@arm.com# Copyright (c) 2006 The Regents of The University of Michigan
413576Sciro.santilli@arm.com# All rights reserved.
513576Sciro.santilli@arm.com#
613576Sciro.santilli@arm.com# Redistribution and use in source and binary forms, with or without
713576Sciro.santilli@arm.com# modification, are permitted provided that the following conditions are
813576Sciro.santilli@arm.com# met: redistributions of source code must retain the above copyright
913576Sciro.santilli@arm.com# notice, this list of conditions and the following disclaimer;
1013576Sciro.santilli@arm.com# redistributions in binary form must reproduce the above copyright
1113576Sciro.santilli@arm.com# notice, this list of conditions and the following disclaimer in the
1213576Sciro.santilli@arm.com# documentation and/or other materials provided with the distribution;
1313576Sciro.santilli@arm.com# neither the name of the copyright holders nor the names of its
141762SN/A# contributors may be used to endorse or promote products derived from
15955SN/A# this software without specific prior written permission.
16955SN/A#
17955SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19955SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26955SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27955SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28955SN/A#
29955SN/A# Authors: Nathan Binkert
30955SN/A
31955SN/AImport('*')
32955SN/A
33955SN/ASimObject('Bridge.py')
34955SN/ASimObject('Bus.py')
35955SN/ASimObject('MemObject.py')
36955SN/A
37955SN/ASource('bridge.cc')
38955SN/ASource('bus.cc')
392665Ssaidi@eecs.umich.eduSource('mem_object.cc')
404762Snate@binkert.orgSource('mport.cc')
41955SN/ASource('packet.cc')
4212563Sgabeblack@google.comSource('port.cc')
4312563Sgabeblack@google.comSource('tport.cc')
445522Snate@binkert.orgSource('fs_translating_port_proxy.cc')
456143Snate@binkert.orgSource('se_translating_port_proxy.cc')
4612371Sgabeblack@google.com
474762Snate@binkert.orgif env['TARGET_ISA'] != 'no':
485522Snate@binkert.org    SimObject('PhysicalMemory.py')
49955SN/A    Source('dram.cc')
505522Snate@binkert.org    Source('page_table.cc')
5111974Sgabeblack@google.com    Source('physical.cc')
52955SN/A
535522Snate@binkert.orgDebugFlag('Bus')
544202Sbinkertn@umich.eduDebugFlag('BusAddrRanges')
555742Snate@binkert.orgDebugFlag('BusBridge')
56955SN/ADebugFlag('LLSC')
574381Sbinkertn@umich.eduDebugFlag('MMU')
584381Sbinkertn@umich.eduDebugFlag('MemoryAccess')
5912246Sgabeblack@google.com
6012246Sgabeblack@google.comDebugFlag('ProtocolTrace')
618334Snate@binkert.orgDebugFlag('RubyCache')
62955SN/ADebugFlag('RubyCacheTrace')
63955SN/ADebugFlag('RubyDma')
644202Sbinkertn@umich.eduDebugFlag('RubyGenerated')
65955SN/ADebugFlag('RubyMemory')
664382Sbinkertn@umich.eduDebugFlag('RubyNetwork')
674382Sbinkertn@umich.eduDebugFlag('RubyPort')
684382Sbinkertn@umich.eduDebugFlag('RubyQueue')
696654Snate@binkert.orgDebugFlag('RubySequencer')
705517Snate@binkert.orgDebugFlag('RubySlicc')
718614Sgblack@eecs.umich.eduDebugFlag('RubySystem')
727674Snate@binkert.orgDebugFlag('RubyTester')
736143Snate@binkert.org
746143Snate@binkert.orgCompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
756143Snate@binkert.org    'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache',
7612302Sgabeblack@google.com    'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace'])
7712302Sgabeblack@google.com