SConscript revision 7966
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('*')
328961Sgblack@eecs.umich.edu
332139SN/ASimObject('Bridge.py')
344202Sbinkertn@umich.eduSimObject('Bus.py')
352152SN/ASimObject('MemObject.py')
362152SN/A
372139SN/ASource('bridge.cc')
382139SN/ASource('bus.cc')
392139SN/ASource('mem_object.cc')
402139SN/ASource('packet.cc')
412139SN/ASource('port.cc')
422152SN/ASource('tport.cc')
432152SN/ASource('mport.cc')
442139SN/A
452139SN/Aif env['TARGET_ISA'] != 'no':
462139SN/A    SimObject('PhysicalMemory.py')
479020Sgblack@eecs.umich.edu    Source('dram.cc')
484781Snate@binkert.org    Source('physical.cc')
497799Sgblack@eecs.umich.edu
504781Snate@binkert.orgif env['FULL_SYSTEM']:
514781Snate@binkert.org    Source('vport.cc')
523170Sstever@eecs.umich.eduelif env['TARGET_ISA'] != 'no':
535664Sgblack@eecs.umich.edu    Source('page_table.cc')
548105Sgblack@eecs.umich.edu    Source('translating_port.cc')
556179Sksewell@umich.edu
564781Snate@binkert.orgTraceFlag('Bus')
576329Sgblack@eecs.umich.eduTraceFlag('BusAddrRanges')
584781Snate@binkert.orgTraceFlag('BusBridge')
594781Snate@binkert.orgTraceFlag('LLSC')
604781Snate@binkert.orgTraceFlag('MMU')
614781Snate@binkert.orgTraceFlag('MemoryAccess')
624781Snate@binkert.org
634781Snate@binkert.orgTraceFlag('ProtocolTrace')
642139SN/ATraceFlag('RubyCache')
652139SN/ATraceFlag('RubyDma')
663546Sgblack@eecs.umich.eduTraceFlag('RubyGenerated')
674202Sbinkertn@umich.eduTraceFlag('RubyMemory')
682152SN/ATraceFlag('RubyNetwork')
692152SN/ATraceFlag('RubyQueue')
702152SN/ATraceFlag('RubyPort')
712152SN/ATraceFlag('RubySlicc')
722152SN/ATraceFlag('RubyStorebuffer')
732152SN/ATraceFlag('RubyTester')
742152SN/A
752152SN/ACompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
762152SN/A    'RubyGenerated', 'RubySlicc', 'RubyStorebuffer', 'RubyCache', 
772152SN/A    'RubyMemory', 'RubyDma'])
782152SN/A