SConscript revision 12302
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.orgSimObject('CommMonitor.py') 345522Snate@binkert.orgSource('comm_monitor.cc') 35955SN/A 365522Snate@binkert.orgSimObject('AbstractMemory.py') 37955SN/ASimObject('AddrMapper.py') 385522Snate@binkert.orgSimObject('Bridge.py') 394202Sbinkertn@umich.eduSimObject('DRAMCtrl.py') 405742Snate@binkert.orgSimObject('ExternalMaster.py') 41955SN/ASimObject('ExternalSlave.py') 424381Sbinkertn@umich.eduSimObject('MemObject.py') 434381Sbinkertn@umich.eduSimObject('SimpleMemory.py') 44955SN/ASimObject('XBar.py') 45955SN/ASimObject('HMCController.py') 46955SN/ASimObject('SerialLink.py') 474202Sbinkertn@umich.edu 48955SN/ASource('abstract_mem.cc') 494382Sbinkertn@umich.eduSource('addr_mapper.cc') 504382Sbinkertn@umich.eduSource('bridge.cc') 514382Sbinkertn@umich.eduSource('coherent_xbar.cc') 526654Snate@binkert.orgSource('drampower.cc') 535517Snate@binkert.orgSource('dram_ctrl.cc') 547674Snate@binkert.orgSource('external_master.cc') 557674Snate@binkert.orgSource('external_slave.cc') 566143Snate@binkert.orgSource('mem_object.cc') 576143Snate@binkert.orgSource('mport.cc') 586143Snate@binkert.orgSource('noncoherent_xbar.cc') 596143Snate@binkert.orgSource('packet.cc') 606143Snate@binkert.orgSource('port.cc') 616143Snate@binkert.orgSource('packet_queue.cc') 626143Snate@binkert.orgSource('port_proxy.cc') 636143Snate@binkert.orgSource('physical.cc') 646143Snate@binkert.orgSource('simple_mem.cc') 656143Snate@binkert.orgSource('snoop_filter.cc') 666143Snate@binkert.orgSource('stack_dist_calc.cc') 676143Snate@binkert.orgSource('tport.cc') 686143Snate@binkert.orgSource('xbar.cc') 696143Snate@binkert.orgSource('hmc_controller.cc') 706143Snate@binkert.orgSource('serial_link.cc') 714762Snate@binkert.org 726143Snate@binkert.orgif env['TARGET_ISA'] != 'null': 736143Snate@binkert.org Source('fs_translating_port_proxy.cc') 746143Snate@binkert.org Source('se_translating_port_proxy.cc') 756143Snate@binkert.org Source('page_table.cc') 766143Snate@binkert.orgif env['TARGET_ISA'] == 'x86': 776143Snate@binkert.org Source('multi_level_page_table.cc') 786143Snate@binkert.org 796143Snate@binkert.orgif env['HAVE_DRAMSIM']: 806143Snate@binkert.org SimObject('DRAMSim2.py') 816143Snate@binkert.org Source('dramsim2_wrapper.cc') 826143Snate@binkert.org Source('dramsim2.cc') 836143Snate@binkert.org 846143Snate@binkert.orgSimObject('MemChecker.py') 856143Snate@binkert.orgSource('mem_checker.cc') 866143Snate@binkert.orgSource('mem_checker_monitor.cc') 876143Snate@binkert.org 886143Snate@binkert.orgDebugFlag('AddrRanges') 896143Snate@binkert.orgDebugFlag('BaseXBar') 906143Snate@binkert.orgDebugFlag('CoherentXBar') 916143Snate@binkert.orgDebugFlag('NoncoherentXBar') 926143Snate@binkert.orgDebugFlag('SnoopFilter') 937065Snate@binkert.orgCompoundFlag('XBar', ['BaseXBar', 'CoherentXBar', 'NoncoherentXBar', 946143Snate@binkert.org 'SnoopFilter']) 956143Snate@binkert.org 966143Snate@binkert.orgDebugFlag('Bridge') 976143Snate@binkert.orgDebugFlag('CommMonitor') 986143Snate@binkert.orgDebugFlag('DRAM') 996143Snate@binkert.orgDebugFlag('DRAMPower') 1006143Snate@binkert.orgDebugFlag('DRAMState') 1016143Snate@binkert.orgDebugFlag('ExternalPort') 1026143Snate@binkert.orgDebugFlag('LLSC') 1036143Snate@binkert.orgDebugFlag('MMU') 1046143Snate@binkert.orgDebugFlag('MemoryAccess') 1056143Snate@binkert.orgDebugFlag('PacketQueue') 1066143Snate@binkert.orgDebugFlag('StackDist') 1076143Snate@binkert.orgDebugFlag("DRAMSim2") 1086143Snate@binkert.orgDebugFlag('HMCController') 1096143Snate@binkert.orgDebugFlag('SerialLink') 1106143Snate@binkert.org 1116143Snate@binkert.orgDebugFlag("MemChecker") 1126143Snate@binkert.orgDebugFlag("MemCheckerMonitor") 1136143Snate@binkert.org