SConscript revision 9104
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
312155SN/AImport('*')
322155SN/A
332155SN/ASimObject('Bridge.py')
342155SN/ASimObject('Bus.py')
352155SN/ASimObject('CommMonitor.py')
362155SN/ASimObject('MemObject.py')
372178SN/A
382178SN/ASource('bridge.cc')
392178SN/ASource('bus.cc')
402178SN/ASource('coherent_bus.cc')
412178SN/ASource('comm_monitor.cc')
422178SN/ASource('mem_object.cc')
432178SN/ASource('mport.cc')
442178SN/ASource('noncoherent_bus.cc')
452178SN/ASource('packet.cc')
462178SN/ASource('port.cc')
472178SN/ASource('packet_queue.cc')
482178SN/ASource('tport.cc')
492155SN/ASource('port_proxy.cc')
502178SN/ASource('fs_translating_port_proxy.cc')
512155SN/ASource('se_translating_port_proxy.cc')
522155SN/A
532178SN/Aif env['TARGET_ISA'] != 'no':
542155SN/A    SimObject('AbstractMemory.py')
552155SN/A    SimObject('SimpleMemory.py')
562623SN/A    Source('abstract_mem.cc')
572623SN/A    Source('simple_mem.cc')
582623SN/A    Source('page_table.cc')
592623SN/A    Source('physical.cc')
602623SN/A
612155SN/ADebugFlag('BaseBus')
622155SN/ADebugFlag('BusAddrRanges')
632292SN/ADebugFlag('CoherentBus')
642292SN/ADebugFlag('NoncoherentBus')
652292SN/ACompoundFlag('Bus', ['BaseBus', 'BusAddrRanges', 'CoherentBus',
662292SN/A                     'NoncoherentBus'])
672292SN/A
682292SN/ADebugFlag('BusBridge')
692292SN/ADebugFlag('CommMonitor')
702292SN/ADebugFlag('LLSC')
712766Sktlim@umich.eduDebugFlag('MMU')
722766Sktlim@umich.eduDebugFlag('MemoryAccess')
732766Sktlim@umich.eduDebugFlag('PacketQueue')
742766Sktlim@umich.edu
752766Sktlim@umich.eduDebugFlag('ProtocolTrace')
762766Sktlim@umich.eduDebugFlag('RubyCache')
772766Sktlim@umich.eduDebugFlag('RubyCacheTrace')
782178SN/ADebugFlag('RubyDma')
792155SN/ADebugFlag('RubyGenerated')
802155SN/ADebugFlag('RubyMemory')
812155SN/ADebugFlag('RubyNetwork')
822155SN/ADebugFlag('RubyPort')
832155SN/ADebugFlag('RubyQueue')
842155SN/ADebugFlag('RubySequencer')
852766Sktlim@umich.eduDebugFlag('RubySlicc')
862155SN/ADebugFlag('RubySystem')
872623SN/ADebugFlag('RubyTester')
882155SN/ADebugFlag('RubyStats')
892155SN/A
902155SN/ACompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
912155SN/A    'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache',
922178SN/A    'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace'])
932178SN/A