SConscript revision 9397
12155SN/A# -*- mode:python -*- 22155SN/A 32155SN/A# Copyright (c) 2006 The Regents of The University of Michigan 42155SN/A# All rights reserved. 52155SN/A# 62155SN/A# Redistribution and use in source and binary forms, with or without 72155SN/A# modification, are permitted provided that the following conditions are 82155SN/A# met: redistributions of source code must retain the above copyright 92155SN/A# notice, this list of conditions and the following disclaimer; 102155SN/A# redistributions in binary form must reproduce the above copyright 112155SN/A# notice, this list of conditions and the following disclaimer in the 122155SN/A# documentation and/or other materials provided with the distribution; 132155SN/A# neither the name of the copyright holders nor the names of its 142155SN/A# contributors may be used to endorse or promote products derived from 152155SN/A# this software without specific prior written permission. 162155SN/A# 172155SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182155SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192155SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202155SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212155SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222155SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232155SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242155SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252155SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262155SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272155SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu# 292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert 302155SN/A 314202Sbinkertn@umich.eduImport('*') 322155SN/A 339850Sandreas.hansson@arm.comSimObject('AddrMapper.py') 349850Sandreas.hansson@arm.comSimObject('Bridge.py') 359850Sandreas.hansson@arm.comSimObject('Bus.py') 367768SAli.Saidi@ARM.comSimObject('CommMonitor.py') 377768SAli.Saidi@ARM.comSimObject('MemObject.py') 3810695SAli.Saidi@ARM.com 3910695SAli.Saidi@ARM.comSource('addr_mapper.cc') 4010695SAli.Saidi@ARM.comSource('bridge.cc') 4110695SAli.Saidi@ARM.comSource('bus.cc') 4210695SAli.Saidi@ARM.comSource('coherent_bus.cc') 438887Sgeoffrey.blake@arm.comSource('comm_monitor.cc') 442766Sktlim@umich.eduSource('mem_object.cc') 454486Sbinkertn@umich.eduSource('mport.cc') 4610663SAli.Saidi@ARM.comSource('noncoherent_bus.cc') 474486Sbinkertn@umich.eduSource('packet.cc') 488739Sgblack@eecs.umich.eduSource('port.cc') 4910259SAndrew.Bardsley@arm.comSource('packet_queue.cc') 504486Sbinkertn@umich.eduSource('tport.cc') 514202Sbinkertn@umich.eduSource('port_proxy.cc') 524202Sbinkertn@umich.eduSource('fs_translating_port_proxy.cc') 534202Sbinkertn@umich.eduSource('se_translating_port_proxy.cc') 544202Sbinkertn@umich.edu 5510319SAndreas.Sandberg@ARM.comif env['TARGET_ISA'] != 'no': 564202Sbinkertn@umich.edu SimObject('AbstractMemory.py') 574776Sgblack@eecs.umich.edu SimObject('SimpleMemory.py') 588739Sgblack@eecs.umich.edu SimObject('SimpleDRAM.py') 596365Sgblack@eecs.umich.edu Source('abstract_mem.cc') 604202Sbinkertn@umich.edu Source('simple_mem.cc') 618777Sgblack@eecs.umich.edu Source('page_table.cc') 624202Sbinkertn@umich.edu Source('physical.cc') 639913Ssteve.reinhardt@amd.com Source('simple_dram.cc') 644202Sbinkertn@umich.edu 654202Sbinkertn@umich.eduDebugFlag('BaseBus') 665217Ssaidi@eecs.umich.eduDebugFlag('BusAddrRanges') 674202Sbinkertn@umich.eduDebugFlag('CoherentBus') 6810259SAndrew.Bardsley@arm.comDebugFlag('NoncoherentBus') 692155SN/ACompoundFlag('Bus', ['BaseBus', 'BusAddrRanges', 'CoherentBus', 708887Sgeoffrey.blake@arm.com 'NoncoherentBus']) 7110201SAndrew.Bardsley@arm.com 728887Sgeoffrey.blake@arm.comDebugFlag('Bridge') 739340SAndreas.Sandberg@arm.comDebugFlag('CommMonitor') 748887Sgeoffrey.blake@arm.comDebugFlag('DRAM') 755192Ssaidi@eecs.umich.eduDebugFlag('DRAMWR') 768335Snate@binkert.orgDebugFlag('LLSC') 778335Snate@binkert.orgDebugFlag('MMU') 788335Snate@binkert.orgDebugFlag('MemoryAccess') 798335Snate@binkert.orgDebugFlag('PacketQueue') 808335Snate@binkert.org 819534SAndreas.Sandberg@ARM.comDebugFlag('ProtocolTrace') 829534SAndreas.Sandberg@ARM.comDebugFlag('RubyCache') 839534SAndreas.Sandberg@ARM.comDebugFlag('RubyCacheTrace') 848335Snate@binkert.orgDebugFlag('RubyDma') 859534SAndreas.Sandberg@ARM.comDebugFlag('RubyGenerated') 869534SAndreas.Sandberg@ARM.comDebugFlag('RubyMemory') 878335Snate@binkert.orgDebugFlag('RubyNetwork') 889534SAndreas.Sandberg@ARM.comDebugFlag('RubyPort') 899534SAndreas.Sandberg@ARM.comDebugFlag('RubyPrefetcher') 909534SAndreas.Sandberg@ARM.comDebugFlag('RubyQueue') 919534SAndreas.Sandberg@ARM.comDebugFlag('RubySequencer') 929534SAndreas.Sandberg@ARM.comDebugFlag('RubySlicc') 939534SAndreas.Sandberg@ARM.comDebugFlag('RubySystem') 949534SAndreas.Sandberg@ARM.comDebugFlag('RubyTester') 959534SAndreas.Sandberg@ARM.comDebugFlag('RubyStats') 969534SAndreas.Sandberg@ARM.comDebugFlag('RubyResourceStalls') 9710383Smitch.hayenga@arm.com 988335Snate@binkert.orgCompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester', 998335Snate@binkert.org 'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache', 1008471SGiacomo.Gabrielli@arm.com 'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace', 1018335Snate@binkert.org 'RubyPrefetcher']) 1028335Snate@binkert.org