SConscript revision 10399:0644819fc32f
1955SN/A# -*- mode:python -*- 2955SN/A 31762SN/A# Copyright (c) 2006 The Regents of The University of Michigan 4955SN/A# All rights reserved. 5955SN/A# 6955SN/A# Redistribution and use in source and binary forms, with or without 7955SN/A# modification, are permitted provided that the following conditions are 8955SN/A# met: redistributions of source code must retain the above copyright 9955SN/A# notice, this list of conditions and the following disclaimer; 10955SN/A# redistributions in binary form must reproduce the above copyright 11955SN/A# notice, this list of conditions and the following disclaimer in the 12955SN/A# documentation and/or other materials provided with the distribution; 13955SN/A# neither the name of the copyright holders nor the names of its 14955SN/A# contributors may be used to endorse or promote products derived from 15955SN/A# this software without specific prior written permission. 16955SN/A# 17955SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19955SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26955SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27955SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu# 294762Snate@binkert.org# Authors: Nathan Binkert 30955SN/A 315522Snate@binkert.orgImport('*') 326143Snate@binkert.org 334762Snate@binkert.org# Only build the communication if we have support for protobuf as the 345522Snate@binkert.org# tracing relies on it 35955SN/Aif env['HAVE_PROTOBUF']: 365522Snate@binkert.org SimObject('CommMonitor.py') 3711974Sgabeblack@google.com Source('comm_monitor.cc') 38955SN/A 395522Snate@binkert.orgSimObject('AbstractMemory.py') 404202Sbinkertn@umich.eduSimObject('AddrMapper.py') 415742Snate@binkert.orgSimObject('Bridge.py') 42955SN/ASimObject('Bus.py') 434381Sbinkertn@umich.eduSimObject('DRAMCtrl.py') 444381Sbinkertn@umich.eduSimObject('MemObject.py') 458334Snate@binkert.orgSimObject('SimpleMemory.py') 46955SN/A 47955SN/ASource('abstract_mem.cc') 484202Sbinkertn@umich.eduSource('addr_mapper.cc') 49955SN/ASource('bridge.cc') 504382Sbinkertn@umich.eduSource('bus.cc') 514382Sbinkertn@umich.eduSource('coherent_bus.cc') 524382Sbinkertn@umich.eduSource('dram_ctrl.cc') 536654Snate@binkert.orgSource('mem_object.cc') 545517Snate@binkert.orgSource('mport.cc') 558614Sgblack@eecs.umich.eduSource('noncoherent_bus.cc') 567674Snate@binkert.orgSource('packet.cc') 576143Snate@binkert.orgSource('port.cc') 586143Snate@binkert.orgSource('packet_queue.cc') 596143Snate@binkert.orgSource('tport.cc') 608233Snate@binkert.orgSource('port_proxy.cc') 618233Snate@binkert.orgSource('simple_mem.cc') 628233Snate@binkert.orgSource('physical.cc') 638233Snate@binkert.orgSource('snoop_filter.cc') 648233Snate@binkert.org 658334Snate@binkert.orgif env['TARGET_ISA'] != 'null': 668334Snate@binkert.org Source('fs_translating_port_proxy.cc') 6710453SAndrew.Bardsley@arm.com Source('se_translating_port_proxy.cc') 6810453SAndrew.Bardsley@arm.com Source('page_table.cc') 698233Snate@binkert.orgif env['TARGET_ISA'] == 'x86': 708233Snate@binkert.org Source('multi_level_page_table.cc') 718233Snate@binkert.org 728233Snate@binkert.orgif env['HAVE_DRAMSIM']: 738233Snate@binkert.org SimObject('DRAMSim2.py') 748233Snate@binkert.org Source('dramsim2_wrapper.cc') 7511983Sgabeblack@google.com Source('dramsim2.cc') 7611983Sgabeblack@google.com 7711983Sgabeblack@google.comDebugFlag('BaseBus') 7811983Sgabeblack@google.comDebugFlag('BusAddrRanges') 7911983Sgabeblack@google.comDebugFlag('CoherentBus') 8011983Sgabeblack@google.comDebugFlag('NoncoherentBus') 8111983Sgabeblack@google.comDebugFlag('SnoopFilter') 8211983Sgabeblack@google.comCompoundFlag('Bus', ['BaseBus', 'BusAddrRanges', 'CoherentBus', 8311983Sgabeblack@google.com 'NoncoherentBus', 'SnoopFilter']) 8411983Sgabeblack@google.com 8511983Sgabeblack@google.comDebugFlag('Bridge') 866143Snate@binkert.orgDebugFlag('CommMonitor') 878233Snate@binkert.orgDebugFlag('DRAM') 888233Snate@binkert.orgDebugFlag('DRAMPower') 898233Snate@binkert.orgDebugFlag('DRAMState') 906143Snate@binkert.orgDebugFlag('LLSC') 916143Snate@binkert.orgDebugFlag('MMU') 926143Snate@binkert.orgDebugFlag('MemoryAccess') 9311308Santhony.gutierrez@amd.comDebugFlag('PacketQueue') 948233Snate@binkert.org 958233Snate@binkert.orgDebugFlag("DRAMSim2") 968233Snate@binkert.org