SConscript revision 5522
11736SN/A# -*- mode:python -*-
21736SN/A
31736SN/A# Copyright (c) 2006 The Regents of The University of Michigan
41736SN/A# All rights reserved.
51736SN/A#
61736SN/A# Redistribution and use in source and binary forms, with or without
71736SN/A# modification, are permitted provided that the following conditions are
81736SN/A# met: redistributions of source code must retain the above copyright
91736SN/A# notice, this list of conditions and the following disclaimer;
101736SN/A# redistributions in binary form must reproduce the above copyright
111736SN/A# notice, this list of conditions and the following disclaimer in the
121736SN/A# documentation and/or other materials provided with the distribution;
131736SN/A# neither the name of the copyright holders nor the names of its
141736SN/A# contributors may be used to endorse or promote products derived from
151736SN/A# this software without specific prior written permission.
161736SN/A#
171736SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
181736SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
191736SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
201736SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
211736SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
221736SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
231736SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
241736SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
251736SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262665Ssaidi@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272665Ssaidi@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
291736SN/A# Authors: Nathan Binkert
302667Sstever@eecs.umich.edu
312655Sstever@eecs.umich.eduImport('*')
322667Sstever@eecs.umich.edu
332667Sstever@eecs.umich.eduSimObject('Bridge.py')
342667Sstever@eecs.umich.eduSimObject('Bus.py')
352667Sstever@eecs.umich.eduSimObject('PhysicalMemory.py')
362667Sstever@eecs.umich.eduSimObject('MemObject.py')
372667Sstever@eecs.umich.edu
382655Sstever@eecs.umich.edu# Workaround for bug in SCons version > 0.97d20071212
392667Sstever@eecs.umich.edu# Scons bug id: 2006 M5 Bug id: 308
402667Sstever@eecs.umich.eduDir('config')
411530SN/A
421530SN/ASource('bridge.cc')
431530SN/ASource('bus.cc')
441530SN/ASource('dram.cc')
451530SN/ASource('mem_object.cc')
461530SN/ASource('packet.cc')
472667Sstever@eecs.umich.eduSource('physical.cc')
482667Sstever@eecs.umich.eduSource('port.cc')
492667Sstever@eecs.umich.eduSource('tport.cc')
501692SN/A
511869SN/Aif env['FULL_SYSTEM']:
521869SN/A    Source('vport.cc')
531869SN/Aelse:
541869SN/A    Source('page_table.cc')
551692SN/A    Source('translating_port.cc')
561869SN/A
571869SN/ATraceFlag('Bus')
581869SN/ATraceFlag('BusAddrRanges')
591581SN/ATraceFlag('BusBridge')
602667Sstever@eecs.umich.eduTraceFlag('LLSC')
612667Sstever@eecs.umich.eduTraceFlag('MMU')
622667Sstever@eecs.umich.eduTraceFlag('MemoryAccess')
632667Sstever@eecs.umich.edu