SConscript revision 8739
12155SN/A# -*- mode:python -*-
22155SN/A
32155SN/A# Copyright (c) 2006 The Regents of The University of Michigan
42155SN/A# All rights reserved.
52155SN/A#
62155SN/A# Redistribution and use in source and binary forms, with or without
72155SN/A# modification, are permitted provided that the following conditions are
82155SN/A# met: redistributions of source code must retain the above copyright
92155SN/A# notice, this list of conditions and the following disclaimer;
102155SN/A# redistributions in binary form must reproduce the above copyright
112155SN/A# notice, this list of conditions and the following disclaimer in the
122155SN/A# documentation and/or other materials provided with the distribution;
132155SN/A# neither the name of the copyright holders nor the names of its
142155SN/A# contributors may be used to endorse or promote products derived from
152155SN/A# this software without specific prior written permission.
162155SN/A#
172155SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182155SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192155SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202155SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212155SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222155SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232155SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242155SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252155SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262155SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272155SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert
302155SN/A
314202Sbinkertn@umich.eduImport('*')
322155SN/A
337768SAli.Saidi@ARM.comSimObject('Bridge.py')
347768SAli.Saidi@ARM.comSimObject('Bus.py')
357768SAli.Saidi@ARM.comSimObject('MemObject.py')
362178SN/A
372178SN/ASource('bridge.cc')
382178SN/ASource('bus.cc')
392178SN/ASource('mem_object.cc')
402178SN/ASource('packet.cc')
412178SN/ASource('port.cc')
422178SN/ASource('tport.cc')
432178SN/ASource('mport.cc')
442178SN/A
452178SN/Aif env['TARGET_ISA'] != 'no':
462178SN/A    SimObject('PhysicalMemory.py')
472155SN/A    Source('dram.cc')
485865Sksewell@umich.edu    Source('physical.cc')
496181Sksewell@umich.edu
506181Sksewell@umich.eduif env['FULL_SYSTEM']:
515865Sksewell@umich.edu    Source('vport.cc')
523918Ssaidi@eecs.umich.eduelif env['TARGET_ISA'] != 'no':
535865Sksewell@umich.edu    Source('page_table.cc')
542623SN/A    Source('translating_port.cc')
553918Ssaidi@eecs.umich.edu
562155SN/ADebugFlag('Bus')
572155SN/ADebugFlag('BusAddrRanges')
582292SN/ADebugFlag('BusBridge')
596181Sksewell@umich.eduDebugFlag('LLSC')
606181Sksewell@umich.eduDebugFlag('MMU')
613918Ssaidi@eecs.umich.eduDebugFlag('MemoryAccess')
622292SN/A
632292SN/ADebugFlag('ProtocolTrace')
642292SN/ADebugFlag('RubyCache')
653918Ssaidi@eecs.umich.eduDebugFlag('RubyDma')
662292SN/ADebugFlag('RubyGenerated')
672292SN/ADebugFlag('RubyMemory')
682766Sktlim@umich.eduDebugFlag('RubyNetwork')
692766Sktlim@umich.eduDebugFlag('RubyPort')
702766Sktlim@umich.eduDebugFlag('RubyQueue')
712921Sktlim@umich.eduDebugFlag('RubySlicc')
728887Sgeoffrey.blake@arm.comDebugFlag('RubyStorebuffer')
738887Sgeoffrey.blake@arm.comDebugFlag('RubyTester')
742766Sktlim@umich.edu
754762Snate@binkert.orgCompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
762155SN/A    'RubyGenerated', 'RubySlicc', 'RubyStorebuffer', 'RubyCache', 
772155SN/A    'RubyMemory', 'RubyDma', 'RubyPort'])
782155SN/A