SConscript revision 6168
12689Sktlim@umich.edu# -*- mode:python -*-
28703Sandreas.hansson@arm.com
38666SPrakash.Ramrakhyani@arm.com# Copyright (c) 2006 The Regents of The University of Michigan
48666SPrakash.Ramrakhyani@arm.com# All rights reserved.
58666SPrakash.Ramrakhyani@arm.com#
68666SPrakash.Ramrakhyani@arm.com# Redistribution and use in source and binary forms, with or without
78666SPrakash.Ramrakhyani@arm.com# modification, are permitted provided that the following conditions are
88666SPrakash.Ramrakhyani@arm.com# met: redistributions of source code must retain the above copyright
98666SPrakash.Ramrakhyani@arm.com# notice, this list of conditions and the following disclaimer;
108666SPrakash.Ramrakhyani@arm.com# redistributions in binary form must reproduce the above copyright
118666SPrakash.Ramrakhyani@arm.com# notice, this list of conditions and the following disclaimer in the
128666SPrakash.Ramrakhyani@arm.com# documentation and/or other materials provided with the distribution;
138666SPrakash.Ramrakhyani@arm.com# neither the name of the copyright holders nor the names of its
142689Sktlim@umich.edu# contributors may be used to endorse or promote products derived from
157897Shestness@cs.utexas.edu# this software without specific prior written permission.
162689Sktlim@umich.edu#
172689Sktlim@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182689Sktlim@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192689Sktlim@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202689Sktlim@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212689Sktlim@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222689Sktlim@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232689Sktlim@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242689Sktlim@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252689Sktlim@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262689Sktlim@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272689Sktlim@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282689Sktlim@umich.edu#
292689Sktlim@umich.edu# Authors: Nathan Binkert
302689Sktlim@umich.edu
312689Sktlim@umich.eduImport('*')
322689Sktlim@umich.edu
332689Sktlim@umich.eduSimObject('Bridge.py')
342689Sktlim@umich.eduSimObject('Bus.py')
352689Sktlim@umich.eduSimObject('MemObject.py')
362689Sktlim@umich.eduSimObject('PhysicalMemory.py')
372689Sktlim@umich.edu
382689Sktlim@umich.eduif env['RUBY']:
392689Sktlim@umich.edu    SimObject('RubyMemory.py')
402689Sktlim@umich.edu
412689Sktlim@umich.eduSource('bridge.cc')
422689Sktlim@umich.eduSource('bus.cc')
432689Sktlim@umich.eduSource('dram.cc')
442689Sktlim@umich.eduSource('mem_object.cc')
457897Shestness@cs.utexas.eduSource('packet.cc')
462689Sktlim@umich.eduSource('physical.cc')
472689Sktlim@umich.eduSource('port.cc')
482521SN/ASource('tport.cc')
493960Sgblack@eecs.umich.eduSource('mport.cc')
504194Ssaidi@eecs.umich.edu
518769Sgblack@eecs.umich.eduif env['RUBY']:
521070SN/A    Source('rubymem.cc')
531070SN/A
542521SN/Aif env['FULL_SYSTEM']:
556658Snate@binkert.org    Source('vport.cc')
568229Snate@binkert.orgelse:
578232Snate@binkert.org    Source('page_table.cc')
588666SPrakash.Ramrakhyani@arm.com    Source('translating_port.cc')
598769Sgblack@eecs.umich.edu
608799Sgblack@eecs.umich.eduTraceFlag('Bus')
612521SN/ATraceFlag('BusAddrRanges')
622522SN/ATraceFlag('BusBridge')
638769Sgblack@eecs.umich.eduTraceFlag('LLSC')
642037SN/ATraceFlag('MMU')
658229Snate@binkert.orgTraceFlag('MemoryAccess')
668769Sgblack@eecs.umich.edu