SConscript revision 8799
1955SN/A# -*- mode:python -*-
2955SN/A
31762SN/A# Copyright (c) 2006 The Regents of The University of Michigan
4955SN/A# All rights reserved.
5955SN/A#
6955SN/A# Redistribution and use in source and binary forms, with or without
7955SN/A# modification, are permitted provided that the following conditions are
8955SN/A# met: redistributions of source code must retain the above copyright
9955SN/A# notice, this list of conditions and the following disclaimer;
10955SN/A# redistributions in binary form must reproduce the above copyright
11955SN/A# notice, this list of conditions and the following disclaimer in the
12955SN/A# documentation and/or other materials provided with the distribution;
13955SN/A# neither the name of the copyright holders nor the names of its
14955SN/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.
282665Ssaidi@eecs.umich.edu#
292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert
30955SN/A
31955SN/AImport('*')
32955SN/A
331608SN/ASimObject('Bridge.py')
34955SN/ASimObject('Bus.py')
35955SN/ASimObject('MemObject.py')
36955SN/A
37955SN/ASource('bridge.cc')
38955SN/ASource('bus.cc')
39955SN/ASource('mem_object.cc')
40955SN/ASource('mport.cc')
41955SN/ASource('packet.cc')
42955SN/ASource('port.cc')
43955SN/ASource('tport.cc')
44955SN/ASource('fs_translating_port_proxy.cc')
45955SN/ASource('se_translating_port_proxy.cc')
46955SN/A
47955SN/Aif env['TARGET_ISA'] != 'no':
482023SN/A    SimObject('PhysicalMemory.py')
49955SN/A    Source('dram.cc')
503089Ssaidi@eecs.umich.edu    Source('page_table.cc')
51955SN/A    Source('physical.cc')
52955SN/A
53955SN/ADebugFlag('Bus')
54955SN/ADebugFlag('BusAddrRanges')
55955SN/ADebugFlag('BusBridge')
56955SN/ADebugFlag('LLSC')
57955SN/ADebugFlag('MMU')
58955SN/ADebugFlag('MemoryAccess')
591031SN/A
60955SN/ADebugFlag('ProtocolTrace')
611388SN/ADebugFlag('RubyCache')
62955SN/ADebugFlag('RubyCacheTrace')
63955SN/ADebugFlag('RubyDma')
641296SN/ADebugFlag('RubyGenerated')
65955SN/ADebugFlag('RubyMemory')
66955SN/ADebugFlag('RubyNetwork')
67955SN/ADebugFlag('RubyPort')
68955SN/ADebugFlag('RubyQueue')
69955SN/ADebugFlag('RubySequencer')
70955SN/ADebugFlag('RubySlicc')
71955SN/ADebugFlag('RubySystem')
72955SN/ADebugFlag('RubyTester')
73955SN/A
74955SN/ACompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
75955SN/A    'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache',
76955SN/A    'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace'])
77955SN/A