SConscript revision 8615:e66a566f2cfa
13569Sgblack@eecs.umich.edu# -*- mode:python -*-
23569Sgblack@eecs.umich.edu
33569Sgblack@eecs.umich.edu# Copyright (c) 2006 The Regents of The University of Michigan
43569Sgblack@eecs.umich.edu# All rights reserved.
53569Sgblack@eecs.umich.edu#
63569Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
73569Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
83569Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
93569Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
103569Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
113569Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
123569Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
133569Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
143569Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
153569Sgblack@eecs.umich.edu# this software without specific prior written permission.
163569Sgblack@eecs.umich.edu#
173569Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
183569Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
193569Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
203569Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
213569Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
223569Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
233569Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
243569Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
253569Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
263569Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
273569Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
283804Ssaidi@eecs.umich.edu#
293569Sgblack@eecs.umich.edu# Authors: Nathan Binkert
303569Sgblack@eecs.umich.edu
313804Ssaidi@eecs.umich.eduImport('*')
323811Ssaidi@eecs.umich.edu
333569Sgblack@eecs.umich.eduSimObject('Bridge.py')
343824Ssaidi@eecs.umich.eduSimObject('Bus.py')
353811Ssaidi@eecs.umich.eduSimObject('MemObject.py')
363811Ssaidi@eecs.umich.edu
373823Ssaidi@eecs.umich.eduSource('bridge.cc')
383823Ssaidi@eecs.umich.eduSource('bus.cc')
393823Ssaidi@eecs.umich.eduSource('mem_object.cc')
403569Sgblack@eecs.umich.eduSource('packet.cc')
413569Sgblack@eecs.umich.eduSource('port.cc')
423804Ssaidi@eecs.umich.eduSource('tport.cc')
433804Ssaidi@eecs.umich.eduSource('mport.cc')
443569Sgblack@eecs.umich.edu
453569Sgblack@eecs.umich.eduif env['TARGET_ISA'] != 'no':
463569Sgblack@eecs.umich.edu    SimObject('PhysicalMemory.py')
473804Ssaidi@eecs.umich.edu    Source('dram.cc')
483881Ssaidi@eecs.umich.edu    Source('physical.cc')
493881Ssaidi@eecs.umich.edu
503804Ssaidi@eecs.umich.eduif env['FULL_SYSTEM']:
513804Ssaidi@eecs.umich.edu    Source('vport.cc')
523804Ssaidi@eecs.umich.eduelif env['TARGET_ISA'] != 'no':
533804Ssaidi@eecs.umich.edu    Source('page_table.cc')
543569Sgblack@eecs.umich.edu    Source('translating_port.cc')
553804Ssaidi@eecs.umich.edu
563804Ssaidi@eecs.umich.eduDebugFlag('Bus')
573881Ssaidi@eecs.umich.eduDebugFlag('BusAddrRanges')
583881Ssaidi@eecs.umich.eduDebugFlag('BusBridge')
593881Ssaidi@eecs.umich.eduDebugFlag('LLSC')
603804Ssaidi@eecs.umich.eduDebugFlag('MMU')
613569Sgblack@eecs.umich.eduDebugFlag('MemoryAccess')
623804Ssaidi@eecs.umich.edu
633804Ssaidi@eecs.umich.eduDebugFlag('ProtocolTrace')
643804Ssaidi@eecs.umich.eduDebugFlag('RubyCache')
653804Ssaidi@eecs.umich.eduDebugFlag('RubyDma')
663881Ssaidi@eecs.umich.eduDebugFlag('RubyGenerated')
673804Ssaidi@eecs.umich.eduDebugFlag('RubyMemory')
683804Ssaidi@eecs.umich.eduDebugFlag('RubyNetwork')
693804Ssaidi@eecs.umich.eduDebugFlag('RubyPort')
703804Ssaidi@eecs.umich.eduDebugFlag('RubyQueue')
713804Ssaidi@eecs.umich.eduDebugFlag('RubySequencer')
723804Ssaidi@eecs.umich.eduDebugFlag('RubySlicc')
733804Ssaidi@eecs.umich.eduDebugFlag('RubyStorebuffer')
743569Sgblack@eecs.umich.eduDebugFlag('RubyTester')
753569Sgblack@eecs.umich.edu
763804Ssaidi@eecs.umich.eduCompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
773804Ssaidi@eecs.umich.edu    'RubyGenerated', 'RubySlicc', 'RubyStorebuffer', 'RubyCache',
783826Ssaidi@eecs.umich.edu    'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer'])
793804Ssaidi@eecs.umich.edu