SConscript revision 9022
12139SN/A# -*- mode:python -*-
22139SN/A
32139SN/A# Copyright (c) 2006 The Regents of The University of Michigan
42139SN/A# All rights reserved.
52139SN/A#
62139SN/A# Redistribution and use in source and binary forms, with or without
72139SN/A# modification, are permitted provided that the following conditions are
82139SN/A# met: redistributions of source code must retain the above copyright
92139SN/A# notice, this list of conditions and the following disclaimer;
102139SN/A# redistributions in binary form must reproduce the above copyright
112139SN/A# notice, this list of conditions and the following disclaimer in the
122139SN/A# documentation and/or other materials provided with the distribution;
132139SN/A# neither the name of the copyright holders nor the names of its
142139SN/A# contributors may be used to endorse or promote products derived from
152139SN/A# this software without specific prior written permission.
162139SN/A#
172139SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182139SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192139SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202139SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212139SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222139SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232139SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242139SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252139SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262139SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272139SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert
302139SN/A
314202Sbinkertn@umich.eduImport('*')
322139SN/A
334202Sbinkertn@umich.eduSimObject('Bridge.py')
342152SN/ASimObject('Bus.py')
352152SN/ASimObject('CommMonitor.py')
362139SN/ASimObject('MemObject.py')
372139SN/A
382139SN/ASource('bridge.cc')
392139SN/ASource('bus.cc')
402139SN/ASource('comm_monitor.cc')
412152SN/ASource('mem_object.cc')
422152SN/ASource('mport.cc')
432139SN/ASource('packet.cc')
442139SN/ASource('port.cc')
452139SN/ASource('packet_queue.cc')
464781Snate@binkert.orgSource('tport.cc')
474781Snate@binkert.orgSource('port_proxy.cc')
487799Sgblack@eecs.umich.eduSource('fs_translating_port_proxy.cc')
494781Snate@binkert.orgSource('se_translating_port_proxy.cc')
504781Snate@binkert.org
513170Sstever@eecs.umich.eduif env['TARGET_ISA'] != 'no':
525664Sgblack@eecs.umich.edu    SimObject('AbstractMemory.py')
538105Sgblack@eecs.umich.edu    SimObject('SimpleMemory.py')
546179Sksewell@umich.edu    Source('abstract_mem.cc')
554781Snate@binkert.org    Source('simple_mem.cc')
564781Snate@binkert.org    Source('page_table.cc')
576329Sgblack@eecs.umich.edu    Source('physical.cc')
584781Snate@binkert.org
594781Snate@binkert.orgDebugFlag('Bus')
604781Snate@binkert.orgDebugFlag('BusAddrRanges')
614781Snate@binkert.orgDebugFlag('BusBridge')
624781Snate@binkert.orgDebugFlag('CommMonitor')
634781Snate@binkert.orgDebugFlag('LLSC')
642139SN/ADebugFlag('MMU')
652139SN/ADebugFlag('MemoryAccess')
663546Sgblack@eecs.umich.eduDebugFlag('PacketQueue')
674202Sbinkertn@umich.edu
682152SN/ADebugFlag('ProtocolTrace')
692152SN/ADebugFlag('RubyCache')
702152SN/ADebugFlag('RubyCacheTrace')
712152SN/ADebugFlag('RubyDma')
722152SN/ADebugFlag('RubyGenerated')
732152SN/ADebugFlag('RubyMemory')
742152SN/ADebugFlag('RubyNetwork')
752152SN/ADebugFlag('RubyPort')
762152SN/ADebugFlag('RubyQueue')
772152SN/ADebugFlag('RubySequencer')
782152SN/ADebugFlag('RubySlicc')
792152SN/ADebugFlag('RubySystem')
802504SN/ADebugFlag('RubyTester')
812504SN/A
822504SN/ACompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
832504SN/A    'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache',
842152SN/A    'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace'])
852504SN/A