SConscript revision 8161:ebb373fcb206
112628Sodanrc@yahoo.com.br# -*- mode:python -*-
212628Sodanrc@yahoo.com.br
312628Sodanrc@yahoo.com.br# Copyright (c) 2006 The Regents of The University of Michigan
412628Sodanrc@yahoo.com.br# All rights reserved.
512628Sodanrc@yahoo.com.br#
612628Sodanrc@yahoo.com.br# Redistribution and use in source and binary forms, with or without
712628Sodanrc@yahoo.com.br# modification, are permitted provided that the following conditions are
812628Sodanrc@yahoo.com.br# met: redistributions of source code must retain the above copyright
912628Sodanrc@yahoo.com.br# notice, this list of conditions and the following disclaimer;
1012628Sodanrc@yahoo.com.br# redistributions in binary form must reproduce the above copyright
1112628Sodanrc@yahoo.com.br# notice, this list of conditions and the following disclaimer in the
1212628Sodanrc@yahoo.com.br# documentation and/or other materials provided with the distribution;
1312628Sodanrc@yahoo.com.br# neither the name of the copyright holders nor the names of its
1412628Sodanrc@yahoo.com.br# contributors may be used to endorse or promote products derived from
1512628Sodanrc@yahoo.com.br# this software without specific prior written permission.
1612628Sodanrc@yahoo.com.br#
1712628Sodanrc@yahoo.com.br# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1812628Sodanrc@yahoo.com.br# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1912628Sodanrc@yahoo.com.br# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2012628Sodanrc@yahoo.com.br# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2112628Sodanrc@yahoo.com.br# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2212628Sodanrc@yahoo.com.br# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2312628Sodanrc@yahoo.com.br# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2412628Sodanrc@yahoo.com.br# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2512628Sodanrc@yahoo.com.br# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2612628Sodanrc@yahoo.com.br# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2712628Sodanrc@yahoo.com.br# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2812628Sodanrc@yahoo.com.br#
2912628Sodanrc@yahoo.com.br# Authors: Nathan Binkert
3012628Sodanrc@yahoo.com.br
3112628Sodanrc@yahoo.com.brImport('*')
3212628Sodanrc@yahoo.com.br
3312628Sodanrc@yahoo.com.brSimObject('Bridge.py')
3412628Sodanrc@yahoo.com.brSimObject('Bus.py')
3512684Sodanrc@yahoo.com.brSimObject('MemObject.py')
3612628Sodanrc@yahoo.com.br
3712628Sodanrc@yahoo.com.brSource('bridge.cc')
3812628Sodanrc@yahoo.com.brSource('bus.cc')
3912628Sodanrc@yahoo.com.brSource('mem_object.cc')
4012628Sodanrc@yahoo.com.brSource('packet.cc')
4112628Sodanrc@yahoo.com.brSource('port.cc')
4212628Sodanrc@yahoo.com.brSource('tport.cc')
4312727Snikos.nikoleris@arm.comSource('mport.cc')
4412727Snikos.nikoleris@arm.com
4512628Sodanrc@yahoo.com.brif env['TARGET_ISA'] != 'no':
4612628Sodanrc@yahoo.com.br    SimObject('PhysicalMemory.py')
4712628Sodanrc@yahoo.com.br    Source('dram.cc')
4812684Sodanrc@yahoo.com.br    Source('physical.cc')
4912684Sodanrc@yahoo.com.br
5012684Sodanrc@yahoo.com.brif env['FULL_SYSTEM']:
5112684Sodanrc@yahoo.com.br    Source('vport.cc')
5212684Sodanrc@yahoo.com.brelif env['TARGET_ISA'] != 'no':
5312684Sodanrc@yahoo.com.br    Source('page_table.cc')
5412684Sodanrc@yahoo.com.br    Source('translating_port.cc')
5512684Sodanrc@yahoo.com.br
5612684Sodanrc@yahoo.com.brTraceFlag('Bus')
5712684Sodanrc@yahoo.com.brTraceFlag('BusAddrRanges')
5812684Sodanrc@yahoo.com.brTraceFlag('BusBridge')
5912684Sodanrc@yahoo.com.brTraceFlag('LLSC')
6012684Sodanrc@yahoo.com.brTraceFlag('MMU')
6112628Sodanrc@yahoo.com.brTraceFlag('MemoryAccess')
6212628Sodanrc@yahoo.com.br
6312628Sodanrc@yahoo.com.brTraceFlag('ProtocolTrace')
6412628Sodanrc@yahoo.com.brTraceFlag('RubyCache')
6512628Sodanrc@yahoo.com.brTraceFlag('RubyDma')
6612628Sodanrc@yahoo.com.brTraceFlag('RubyGenerated')
6712628Sodanrc@yahoo.com.brTraceFlag('RubyMemory')
6812628Sodanrc@yahoo.com.brTraceFlag('RubyNetwork')
6912628Sodanrc@yahoo.com.brTraceFlag('RubyPort')
7012628Sodanrc@yahoo.com.brTraceFlag('RubyQueue')
7112628Sodanrc@yahoo.com.brTraceFlag('RubySlicc')
7212628Sodanrc@yahoo.com.brTraceFlag('RubyStorebuffer')
7312628Sodanrc@yahoo.com.brTraceFlag('RubyTester')
7412628Sodanrc@yahoo.com.br
7512628Sodanrc@yahoo.com.brCompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
7612684Sodanrc@yahoo.com.br    'RubyGenerated', 'RubySlicc', 'RubyStorebuffer', 'RubyCache', 
7712684Sodanrc@yahoo.com.br    'RubyMemory', 'RubyDma', 'RubyPort'])
7812684Sodanrc@yahoo.com.br