SConscript revision 10146:27dfed4c8403
11689SN/A# -*- mode:python -*- 210331Smitch.hayenga@arm.com 39916Ssteve.reinhardt@amd.com# Copyright (c) 2006 The Regents of The University of Michigan 48707Sandreas.hansson@arm.com# All rights reserved. 58707Sandreas.hansson@arm.com# 68707Sandreas.hansson@arm.com# Redistribution and use in source and binary forms, with or without 78707Sandreas.hansson@arm.com# modification, are permitted provided that the following conditions are 88707Sandreas.hansson@arm.com# met: redistributions of source code must retain the above copyright 98707Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer; 108707Sandreas.hansson@arm.com# redistributions in binary form must reproduce the above copyright 118707Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer in the 128707Sandreas.hansson@arm.com# documentation and/or other materials provided with the distribution; 138707Sandreas.hansson@arm.com# neither the name of the copyright holders nor the names of its 148707Sandreas.hansson@arm.com# contributors may be used to endorse or promote products derived from 152325SN/A# this software without specific prior written permission. 167897Shestness@cs.utexas.edu# 171689SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 181689SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 191689SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 201689SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 211689SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 221689SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 231689SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 241689SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 251689SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 261689SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 271689SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 281689SN/A# 291689SN/A# Authors: Nathan Binkert 301689SN/A 311689SN/AImport('*') 321689SN/A 331689SN/A# Only build the communication if we have support for protobuf as the 341689SN/A# tracing relies on it 351689SN/Aif env['HAVE_PROTOBUF']: 361689SN/A SimObject('CommMonitor.py') 371689SN/A Source('comm_monitor.cc') 381689SN/A 391689SN/ASimObject('AbstractMemory.py') 401689SN/ASimObject('AddrMapper.py') 412665Ssaidi@eecs.umich.eduSimObject('Bridge.py') 422665Ssaidi@eecs.umich.eduSimObject('Bus.py') 432756Sksewell@umich.eduSimObject('DRAMCtrl.py') 447897Shestness@cs.utexas.eduSimObject('MemObject.py') 451689SN/ASimObject('SimpleMemory.py') 461689SN/A 478779Sgblack@eecs.umich.eduSource('abstract_mem.cc') 486658Snate@binkert.orgSource('addr_mapper.cc') 498887Sgeoffrey.blake@arm.comSource('bridge.cc') 508887Sgeoffrey.blake@arm.comSource('bus.cc') 518229Snate@binkert.orgSource('coherent_bus.cc') 528229Snate@binkert.orgSource('dram_ctrl.cc') 538229Snate@binkert.orgSource('mem_object.cc') 544762Snate@binkert.orgSource('mport.cc') 558779Sgblack@eecs.umich.eduSource('noncoherent_bus.cc') 564762Snate@binkert.orgSource('packet.cc') 574762Snate@binkert.orgSource('port.cc') 588232Snate@binkert.orgSource('packet_queue.cc') 599152Satgutier@umich.eduSource('tport.cc') 608232Snate@binkert.orgSource('port_proxy.cc') 618232Snate@binkert.orgSource('simple_mem.cc') 624762Snate@binkert.orgSource('physical.cc') 634762Snate@binkert.org 648793Sgblack@eecs.umich.eduif env['TARGET_ISA'] != 'null': 658779Sgblack@eecs.umich.edu Source('fs_translating_port_proxy.cc') 664762Snate@binkert.org Source('se_translating_port_proxy.cc') 678460SAli.Saidi@ARM.com Source('page_table.cc') 684762Snate@binkert.org 695702Ssaidi@eecs.umich.eduif env['HAVE_DRAMSIM']: 705702Ssaidi@eecs.umich.edu SimObject('DRAMSim2.py') 718232Snate@binkert.org Source('dramsim2_wrapper.cc') 725702Ssaidi@eecs.umich.edu Source('dramsim2.cc') 735702Ssaidi@eecs.umich.edu 748737Skoansin.tan@gmail.comDebugFlag('BaseBus') 755529Snate@binkert.orgDebugFlag('BusAddrRanges') 762669Sktlim@umich.eduDebugFlag('CoherentBus') 776221Snate@binkert.orgDebugFlag('NoncoherentBus') 781060SN/ACompoundFlag('Bus', ['BaseBus', 'BusAddrRanges', 'CoherentBus', 795529Snate@binkert.org 'NoncoherentBus']) 805712Shsul@eecs.umich.edu 811060SN/ADebugFlag('Bridge') 821060SN/ADebugFlag('CommMonitor') 831060SN/ADebugFlag('DRAM') 842292SN/ADebugFlag('LLSC') 852733Sktlim@umich.eduDebugFlag('MMU') 862292SN/ADebugFlag('MemoryAccess') 872292SN/ADebugFlag('PacketQueue') 882292SN/A 892292SN/ADebugFlag("DRAMSim2") 908707Sandreas.hansson@arm.com