SConscript revision 7832
1545SN/A# -*- mode:python -*-
21762SN/A
3545SN/A# Copyright (c) 2006 The Regents of The University of Michigan
4545SN/A# All rights reserved.
5545SN/A#
6545SN/A# Redistribution and use in source and binary forms, with or without
7545SN/A# modification, are permitted provided that the following conditions are
8545SN/A# met: redistributions of source code must retain the above copyright
9545SN/A# notice, this list of conditions and the following disclaimer;
10545SN/A# redistributions in binary form must reproduce the above copyright
11545SN/A# notice, this list of conditions and the following disclaimer in the
12545SN/A# documentation and/or other materials provided with the distribution;
13545SN/A# neither the name of the copyright holders nor the names of its
14545SN/A# contributors may be used to endorse or promote products derived from
15545SN/A# this software without specific prior written permission.
16545SN/A#
17545SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18545SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19545SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20545SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21545SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22545SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23545SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24545SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25545SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26545SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272665Ssaidi@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert
30545SN/A
31545SN/AImport('*')
321310SN/A
331310SN/ASimObject('Bridge.py')
34545SN/ASimObject('Bus.py')
352542SN/ASimObject('MemObject.py')
363348Sbinkertn@umich.edu
373348Sbinkertn@umich.eduSource('bridge.cc')
382489SN/ASource('bus.cc')
39545SN/ASource('mem_object.cc')
403090Sstever@eecs.umich.eduSource('packet.cc')
411310SN/ASource('port.cc')
422384SN/ASource('tport.cc')
432489SN/ASource('mport.cc')
442522SN/A
45545SN/Aif env['TARGET_ISA'] != 'no':
462489SN/A    SimObject('PhysicalMemory.py')
472489SN/A    Source('dram.cc')
482489SN/A    Source('physical.cc')
492489SN/A
502489SN/Aif env['FULL_SYSTEM']:
513090Sstever@eecs.umich.edu    Source('vport.cc')
523090Sstever@eecs.umich.eduelif env['TARGET_ISA'] != 'no':
532914Ssaidi@eecs.umich.edu    Source('page_table.cc')
54545SN/A    Source('translating_port.cc')
55545SN/A
562489SN/ATraceFlag('Bus')
572384SN/ATraceFlag('BusAddrRanges')
582384SN/ATraceFlag('BusBridge')
593349Sbinkertn@umich.eduTraceFlag('LLSC')
602384SN/ATraceFlag('MMU')
613090Sstever@eecs.umich.eduTraceFlag('MemoryAccess')
623090Sstever@eecs.umich.edu
632384SN/ATraceFlag('ProtocolTrace')
642384SN/ATraceFlag('RubyCache')
653091Sstever@eecs.umich.eduTraceFlag('RubyDma')
662901Ssaidi@eecs.umich.eduTraceFlag('RubyGenerated')
672384SN/ATraceFlag('RubyMemory')
682384SN/ATraceFlag('RubyNetwork')
692565SN/ATraceFlag('RubyQueue')
702384SN/ATraceFlag('RubyPort')
712384SN/ATraceFlag('RubySlicc')
722384SN/ATraceFlag('RubyStorebuffer')
732784Ssaidi@eecs.umich.eduTraceFlag('RubyTester')
742784Ssaidi@eecs.umich.edu
752784Ssaidi@eecs.umich.eduCompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
762784Ssaidi@eecs.umich.edu    'RubyGenerated', 'RubySlicc', 'RubyStorebuffer', 'RubyCache', 
772784Ssaidi@eecs.umich.edu    'RubyMemory', 'RubyDma'])
782784Ssaidi@eecs.umich.edu