SConscript revision 8739
14202Sbinkertn@umich.edu# -*- mode:python -*-
24202Sbinkertn@umich.edu
34202Sbinkertn@umich.edu# Copyright (c) 2006 The Regents of The University of Michigan
44202Sbinkertn@umich.edu# All rights reserved.
54202Sbinkertn@umich.edu#
64202Sbinkertn@umich.edu# Redistribution and use in source and binary forms, with or without
74202Sbinkertn@umich.edu# modification, are permitted provided that the following conditions are
84202Sbinkertn@umich.edu# met: redistributions of source code must retain the above copyright
94202Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer;
104202Sbinkertn@umich.edu# redistributions in binary form must reproduce the above copyright
114202Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer in the
124202Sbinkertn@umich.edu# documentation and/or other materials provided with the distribution;
134202Sbinkertn@umich.edu# neither the name of the copyright holders nor the names of its
144202Sbinkertn@umich.edu# contributors may be used to endorse or promote products derived from
154202Sbinkertn@umich.edu# this software without specific prior written permission.
164202Sbinkertn@umich.edu#
174202Sbinkertn@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
184202Sbinkertn@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
194202Sbinkertn@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
204202Sbinkertn@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
214202Sbinkertn@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
224202Sbinkertn@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
234202Sbinkertn@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
244202Sbinkertn@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
254202Sbinkertn@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
264202Sbinkertn@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
274202Sbinkertn@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
284202Sbinkertn@umich.edu#
294202Sbinkertn@umich.edu# Authors: Nathan Binkert
304202Sbinkertn@umich.edu
314202Sbinkertn@umich.eduImport('*')
324202Sbinkertn@umich.edu
339398Sandreas.hansson@arm.comSimObject('Bridge.py')
349398Sandreas.hansson@arm.comSimObject('Bus.py')
359398Sandreas.hansson@arm.comSimObject('MemObject.py')
369398Sandreas.hansson@arm.com
379398Sandreas.hansson@arm.comSource('bridge.cc')
389398Sandreas.hansson@arm.comSource('bus.cc')
399259SAli.Saidi@ARM.comSource('mem_object.cc')
404486Sbinkertn@umich.eduSource('packet.cc')
414486Sbinkertn@umich.eduSource('port.cc')
426165Ssanchezd@stanford.eduSource('tport.cc')
436168Snate@binkert.orgSource('mport.cc')
449259SAli.Saidi@ARM.com
454202Sbinkertn@umich.eduif env['TARGET_ISA'] != 'no':
464202Sbinkertn@umich.edu    SimObject('PhysicalMemory.py')
479036Sandreas.hansson@arm.com    Source('dram.cc')
484202Sbinkertn@umich.edu    Source('physical.cc')
498761Sgblack@eecs.umich.edu
509036Sandreas.hansson@arm.comif env['FULL_SYSTEM']:
514202Sbinkertn@umich.edu    Source('vport.cc')
524202Sbinkertn@umich.eduelif env['TARGET_ISA'] != 'no':
538914Sandreas.hansson@arm.com    Source('page_table.cc')
544202Sbinkertn@umich.edu    Source('translating_port.cc')
558853Sandreas.hansson@arm.com
568799Sgblack@eecs.umich.eduDebugFlag('Bus')
578799Sgblack@eecs.umich.eduDebugFlag('BusAddrRanges')
586168Snate@binkert.orgDebugFlag('BusBridge')
597768SAli.Saidi@ARM.comDebugFlag('LLSC')
608931Sandreas.hansson@arm.comDebugFlag('MMU')
618931Sandreas.hansson@arm.comDebugFlag('MemoryAccess')
629243Sandreas.hansson@arm.com
638931Sandreas.hansson@arm.comDebugFlag('ProtocolTrace')
648931Sandreas.hansson@arm.comDebugFlag('RubyCache')
658763Sgblack@eecs.umich.eduDebugFlag('RubyDma')
667768SAli.Saidi@ARM.comDebugFlag('RubyGenerated')
679243Sandreas.hansson@arm.comDebugFlag('RubyMemory')
687768SAli.Saidi@ARM.comDebugFlag('RubyNetwork')
699036Sandreas.hansson@arm.comDebugFlag('RubyPort')
708335Snate@binkert.orgDebugFlag('RubyQueue')
719036Sandreas.hansson@arm.comDebugFlag('RubySlicc')
729036Sandreas.hansson@arm.comDebugFlag('RubyStorebuffer')
739036Sandreas.hansson@arm.comDebugFlag('RubyTester')
749036Sandreas.hansson@arm.com
759036Sandreas.hansson@arm.comCompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
769164Sandreas.hansson@arm.com    'RubyGenerated', 'RubySlicc', 'RubyStorebuffer', 'RubyCache', 
778981Sandreas.hansson@arm.com    'RubyMemory', 'RubyDma', 'RubyPort'])
789243Sandreas.hansson@arm.com