SConscript revision 8683:9feb100066e1
12124SN/A# -*- mode:python -*-
22124SN/A
35268Sksewell@umich.edu# Copyright (c) 2006 The Regents of The University of Michigan
45268Sksewell@umich.edu# All rights reserved.
55268Sksewell@umich.edu#
65268Sksewell@umich.edu# Redistribution and use in source and binary forms, with or without
75268Sksewell@umich.edu# modification, are permitted provided that the following conditions are
85268Sksewell@umich.edu# met: redistributions of source code must retain the above copyright
95268Sksewell@umich.edu# notice, this list of conditions and the following disclaimer;
105268Sksewell@umich.edu# redistributions in binary form must reproduce the above copyright
115268Sksewell@umich.edu# notice, this list of conditions and the following disclaimer in the
125268Sksewell@umich.edu# documentation and/or other materials provided with the distribution;
135268Sksewell@umich.edu# neither the name of the copyright holders nor the names of its
145268Sksewell@umich.edu# contributors may be used to endorse or promote products derived from
155268Sksewell@umich.edu# this software without specific prior written permission.
165268Sksewell@umich.edu#
175268Sksewell@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
185268Sksewell@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
195268Sksewell@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
205268Sksewell@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
215268Sksewell@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
225268Sksewell@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
235268Sksewell@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
245268Sksewell@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
255268Sksewell@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
265268Sksewell@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
275268Sksewell@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
285268Sksewell@umich.edu#
295268Sksewell@umich.edu# Authors: Nathan Binkert
305268Sksewell@umich.edu
312022SN/AImport('*')
322649Ssaidi@eecs.umich.edu
332649Ssaidi@eecs.umich.eduSimObject('Bridge.py')
342706Sksewell@umich.eduSimObject('Bus.py')
352649Ssaidi@eecs.umich.eduSimObject('MemObject.py')
362649Ssaidi@eecs.umich.edu
372022SN/ASource('bridge.cc')
382124SN/ASource('bus.cc')
392124SN/ASource('mem_object.cc')
402124SN/ASource('packet.cc')
412124SN/ASource('port.cc')
422124SN/ASource('tport.cc')
432124SN/ASource('mport.cc')
442124SN/A
455736Snate@binkert.orgif env['TARGET_ISA'] != 'no':
462239SN/A    SimObject('PhysicalMemory.py')
472124SN/A    Source('dram.cc')
482124SN/A    Source('physical.cc')
492124SN/A
502124SN/Aif env['FULL_SYSTEM']:
516207Sksewell@umich.edu    Source('vport.cc')
522124SN/Aelif env['TARGET_ISA'] != 'no':
532742Sksewell@umich.edu    Source('page_table.cc')
542022SN/A    Source('translating_port.cc')
552124SN/A
562022SN/ADebugFlag('Bus')
572124SN/ADebugFlag('BusAddrRanges')
582124SN/ADebugFlag('BusBridge')
592124SN/ADebugFlag('LLSC')
602124SN/ADebugFlag('MMU')
612742Sksewell@umich.eduDebugFlag('MemoryAccess')
622742Sksewell@umich.edu
632742Sksewell@umich.eduDebugFlag('ProtocolTrace')
642742Sksewell@umich.eduDebugFlag('RubyCache')
652742Sksewell@umich.eduDebugFlag('RubyCacheTrace')
662742Sksewell@umich.eduDebugFlag('RubyDma')
672742Sksewell@umich.eduDebugFlag('RubyGenerated')
682742Sksewell@umich.eduDebugFlag('RubyMemory')
696207Sksewell@umich.eduDebugFlag('RubyNetwork')
706207Sksewell@umich.eduDebugFlag('RubyPort')
712742Sksewell@umich.eduDebugFlag('RubyQueue')
722742Sksewell@umich.eduDebugFlag('RubySequencer')
732742Sksewell@umich.eduDebugFlag('RubySlicc')
742742Sksewell@umich.eduDebugFlag('RubyStorebuffer')
752742Sksewell@umich.eduDebugFlag('RubyTester')
762742Sksewell@umich.edu
772022SN/ACompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
782022SN/A    'RubyGenerated', 'RubySlicc', 'RubyStorebuffer', 'RubyCache',
792124SN/A    'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace'])
802022SN/A