SConscript revision 8683
16145Snate@binkert.org# -*- mode:python -*- 26145Snate@binkert.org 36145Snate@binkert.org# Copyright (c) 2006 The Regents of The University of Michigan 46145Snate@binkert.org# All rights reserved. 56145Snate@binkert.org# 66145Snate@binkert.org# Redistribution and use in source and binary forms, with or without 76145Snate@binkert.org# modification, are permitted provided that the following conditions are 86145Snate@binkert.org# met: redistributions of source code must retain the above copyright 96145Snate@binkert.org# notice, this list of conditions and the following disclaimer; 106145Snate@binkert.org# redistributions in binary form must reproduce the above copyright 116145Snate@binkert.org# notice, this list of conditions and the following disclaimer in the 126145Snate@binkert.org# documentation and/or other materials provided with the distribution; 136145Snate@binkert.org# neither the name of the copyright holders nor the names of its 146145Snate@binkert.org# contributors may be used to endorse or promote products derived from 156145Snate@binkert.org# this software without specific prior written permission. 166145Snate@binkert.org# 176145Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 186145Snate@binkert.org# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 196145Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 206145Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 216145Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 226145Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 236145Snate@binkert.org# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 246145Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 256145Snate@binkert.org# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 266145Snate@binkert.org# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 276145Snate@binkert.org# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 286145Snate@binkert.org# 297039Snate@binkert.org# Authors: Nathan Binkert 307039Snate@binkert.org 316145Snate@binkert.orgImport('*') 327039Snate@binkert.org 337039Snate@binkert.orgSimObject('Bridge.py') 3410301Snilay@cs.wisc.eduSimObject('Bus.py') 357039Snate@binkert.orgSimObject('MemObject.py') 3610301Snilay@cs.wisc.edu 376145Snate@binkert.orgSource('bridge.cc') 386145Snate@binkert.orgSource('bus.cc') 396145Snate@binkert.orgSource('mem_object.cc') 407039Snate@binkert.orgSource('packet.cc') 4111025Snilay@cs.wisc.eduSource('port.cc') 426145Snate@binkert.orgSource('tport.cc') 437039Snate@binkert.orgSource('mport.cc') 446145Snate@binkert.org 456145Snate@binkert.orgif env['TARGET_ISA'] != 'no': 4611308Santhony.gutierrez@amd.com SimObject('PhysicalMemory.py') 4711308Santhony.gutierrez@amd.com Source('dram.cc') 4811308Santhony.gutierrez@amd.com Source('physical.cc') 4911308Santhony.gutierrez@amd.com 5011308Santhony.gutierrez@amd.comif env['FULL_SYSTEM']: 5111308Santhony.gutierrez@amd.com Source('vport.cc') 526145Snate@binkert.orgelif env['TARGET_ISA'] != 'no': 536145Snate@binkert.org Source('page_table.cc') 547039Snate@binkert.org Source('translating_port.cc') 5511025Snilay@cs.wisc.edu 566145Snate@binkert.orgDebugFlag('Bus') 577039Snate@binkert.orgDebugFlag('BusAddrRanges') 587039Snate@binkert.orgDebugFlag('BusBridge') 597039Snate@binkert.orgDebugFlag('LLSC') 606145Snate@binkert.orgDebugFlag('MMU') 616145Snate@binkert.orgDebugFlag('MemoryAccess') 6211308Santhony.gutierrez@amd.com 6311308Santhony.gutierrez@amd.comDebugFlag('ProtocolTrace') 6411308Santhony.gutierrez@amd.comDebugFlag('RubyCache') 6511308Santhony.gutierrez@amd.comDebugFlag('RubyCacheTrace') 6611308Santhony.gutierrez@amd.comDebugFlag('RubyDma') 6711308Santhony.gutierrez@amd.comDebugFlag('RubyGenerated') 6811308Santhony.gutierrez@amd.comDebugFlag('RubyMemory') 6911308Santhony.gutierrez@amd.comDebugFlag('RubyNetwork') 7011308Santhony.gutierrez@amd.comDebugFlag('RubyPort') 7111308Santhony.gutierrez@amd.comDebugFlag('RubyQueue') 7211308Santhony.gutierrez@amd.comDebugFlag('RubySequencer') 7311308Santhony.gutierrez@amd.comDebugFlag('RubySlicc') 7411308Santhony.gutierrez@amd.comDebugFlag('RubyStorebuffer') 7511308Santhony.gutierrez@amd.comDebugFlag('RubyTester') 7611308Santhony.gutierrez@amd.com 7711308Santhony.gutierrez@amd.comCompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester', 787039Snate@binkert.org 'RubyGenerated', 'RubySlicc', 'RubyStorebuffer', 'RubyCache', 797039Snate@binkert.org 'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace']) 806843Sdrh5@cs.wisc.edu