111308Santhony.gutierrez@amd.com# -*- mode:python -*- 211308Santhony.gutierrez@amd.com# 312697Santhony.gutierrez@amd.com# Copyright (c) 2018 ARM Limited 412697Santhony.gutierrez@amd.com# All rights reserved 511308Santhony.gutierrez@amd.com# 612697Santhony.gutierrez@amd.com# The license below extends only to copyright in the software and shall 711308Santhony.gutierrez@amd.com# not be construed as granting a license to any other intellectual 812697Santhony.gutierrez@amd.com# property including but not limited to intellectual property relating 912697Santhony.gutierrez@amd.com# to a hardware implementation of the functionality of the software 1011308Santhony.gutierrez@amd.com# licensed hereunder. You may use the software subject to the license 1112697Santhony.gutierrez@amd.com# terms below provided that you ensure that this notice is replicated 1212697Santhony.gutierrez@amd.com# unmodified and in its entirety in all distributions of the software, 1311308Santhony.gutierrez@amd.com# modified or unmodified, in source code or in binary form. 1412697Santhony.gutierrez@amd.com# 1512697Santhony.gutierrez@amd.com# Copyright (c) 2006 The Regents of The University of Michigan 1612697Santhony.gutierrez@amd.com# All rights reserved. 1711308Santhony.gutierrez@amd.com# 1812697Santhony.gutierrez@amd.com# Redistribution and use in source and binary forms, with or without 1912697Santhony.gutierrez@amd.com# modification, are permitted provided that the following conditions are 2012697Santhony.gutierrez@amd.com# met: redistributions of source code must retain the above copyright 2111308Santhony.gutierrez@amd.com# notice, this list of conditions and the following disclaimer; 2212697Santhony.gutierrez@amd.com# redistributions in binary form must reproduce the above copyright 2312697Santhony.gutierrez@amd.com# notice, this list of conditions and the following disclaimer in the 2412697Santhony.gutierrez@amd.com# documentation and/or other materials provided with the distribution; 2512697Santhony.gutierrez@amd.com# neither the name of the copyright holders nor the names of its 2612697Santhony.gutierrez@amd.com# contributors may be used to endorse or promote products derived from 2712697Santhony.gutierrez@amd.com# this software without specific prior written permission. 2812697Santhony.gutierrez@amd.com# 2912697Santhony.gutierrez@amd.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 3012697Santhony.gutierrez@amd.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 3112697Santhony.gutierrez@amd.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 3212697Santhony.gutierrez@amd.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 3311308Santhony.gutierrez@amd.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 3412697Santhony.gutierrez@amd.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 3511308Santhony.gutierrez@amd.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 3611308Santhony.gutierrez@amd.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 3711308Santhony.gutierrez@amd.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 3811308Santhony.gutierrez@amd.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 3911308Santhony.gutierrez@amd.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 4011308Santhony.gutierrez@amd.com# 4111308Santhony.gutierrez@amd.com# Authors: Nathan Binkert 4211692Santhony.gutierrez@amd.com 4311308Santhony.gutierrez@amd.comImport('*') 4411308Santhony.gutierrez@amd.com 4511308Santhony.gutierrez@amd.comSimObject('CommMonitor.py') 4611308Santhony.gutierrez@amd.comSource('comm_monitor.cc') 4711308Santhony.gutierrez@amd.com 4811308Santhony.gutierrez@amd.comSimObject('AbstractMemory.py') 4911308Santhony.gutierrez@amd.comSimObject('AddrMapper.py') 5011308Santhony.gutierrez@amd.comSimObject('Bridge.py') 5111308Santhony.gutierrez@amd.comSimObject('DRAMCtrl.py') 5211308Santhony.gutierrez@amd.comSimObject('ExternalMaster.py') 5311308Santhony.gutierrez@amd.comSimObject('ExternalSlave.py') 5411308Santhony.gutierrez@amd.comSimObject('MemObject.py') 5511308Santhony.gutierrez@amd.comSimObject('SimpleMemory.py') 5611308Santhony.gutierrez@amd.comSimObject('XBar.py') 5711308Santhony.gutierrez@amd.comSimObject('HMCController.py') 5811308Santhony.gutierrez@amd.comSimObject('SerialLink.py') 5911308Santhony.gutierrez@amd.comSimObject('MemDelay.py') 6011308Santhony.gutierrez@amd.com 6111308Santhony.gutierrez@amd.comSource('abstract_mem.cc') 6211308Santhony.gutierrez@amd.comSource('addr_mapper.cc') 6311308Santhony.gutierrez@amd.comSource('bridge.cc') 6411308Santhony.gutierrez@amd.comSource('coherent_xbar.cc') 6511308Santhony.gutierrez@amd.comSource('drampower.cc') 6611308Santhony.gutierrez@amd.comSource('dram_ctrl.cc') 6711308Santhony.gutierrez@amd.comSource('external_master.cc') 6811308Santhony.gutierrez@amd.comSource('external_slave.cc') 6911308Santhony.gutierrez@amd.comSource('noncoherent_xbar.cc') 7011308Santhony.gutierrez@amd.comSource('packet.cc') 7111308Santhony.gutierrez@amd.comSource('port.cc') 7211308Santhony.gutierrez@amd.comSource('packet_queue.cc') 7311308Santhony.gutierrez@amd.comSource('port_proxy.cc') 7411308Santhony.gutierrez@amd.comSource('physical.cc') 7511308Santhony.gutierrez@amd.comSource('secure_port_proxy.cc') 7611308Santhony.gutierrez@amd.comSource('simple_mem.cc') 7711308Santhony.gutierrez@amd.comSource('snoop_filter.cc') 7811308Santhony.gutierrez@amd.comSource('stack_dist_calc.cc') 7911308Santhony.gutierrez@amd.comSource('tport.cc') 8011308Santhony.gutierrez@amd.comSource('xbar.cc') 8111308Santhony.gutierrez@amd.comSource('hmc_controller.cc') 8211308Santhony.gutierrez@amd.comSource('serial_link.cc') 8311308Santhony.gutierrez@amd.comSource('mem_delay.cc') 8411308Santhony.gutierrez@amd.com 8511308Santhony.gutierrez@amd.comif env['TARGET_ISA'] != 'null': 8611308Santhony.gutierrez@amd.com Source('fs_translating_port_proxy.cc') 8711308Santhony.gutierrez@amd.com Source('se_translating_port_proxy.cc') 8811308Santhony.gutierrez@amd.com Source('page_table.cc') 8911642Salexandru.dutu@amd.com 9011308Santhony.gutierrez@amd.comif env['HAVE_DRAMSIM']: 9111308Santhony.gutierrez@amd.com SimObject('DRAMSim2.py') 9211308Santhony.gutierrez@amd.com Source('dramsim2_wrapper.cc') 9311308Santhony.gutierrez@amd.com Source('dramsim2.cc') 9411308Santhony.gutierrez@amd.com 9511308Santhony.gutierrez@amd.comSimObject('MemChecker.py') 9611308Santhony.gutierrez@amd.comSource('mem_checker.cc') 9711642Salexandru.dutu@amd.comSource('mem_checker_monitor.cc') 9811642Salexandru.dutu@amd.com 99DebugFlag('AddrRanges') 100DebugFlag('BaseXBar') 101DebugFlag('CoherentXBar') 102DebugFlag('NoncoherentXBar') 103DebugFlag('SnoopFilter') 104CompoundFlag('XBar', ['BaseXBar', 'CoherentXBar', 'NoncoherentXBar', 105 'SnoopFilter']) 106 107DebugFlag('Bridge') 108DebugFlag('CommMonitor') 109DebugFlag('DRAM') 110DebugFlag('DRAMPower') 111DebugFlag('DRAMState') 112DebugFlag('ExternalPort') 113DebugFlag('LLSC') 114DebugFlag('MMU') 115DebugFlag('MemoryAccess') 116DebugFlag('PacketQueue') 117DebugFlag('StackDist') 118DebugFlag("DRAMSim2") 119DebugFlag('HMCController') 120DebugFlag('SerialLink') 121 122DebugFlag("MemChecker") 123DebugFlag("MemCheckerMonitor") 124DebugFlag("QOS") 125