DirectoryMemory.py revision 12065
112065Snikos.nikoleris@arm.com# Copyright (c) 2017 ARM Limited 212065Snikos.nikoleris@arm.com# All rights reserved. 312065Snikos.nikoleris@arm.com# 412065Snikos.nikoleris@arm.com# The license below extends only to copyright in the software and shall 512065Snikos.nikoleris@arm.com# not be construed as granting a license to any other intellectual 612065Snikos.nikoleris@arm.com# property including but not limited to intellectual property relating 712065Snikos.nikoleris@arm.com# to a hardware implementation of the functionality of the software 812065Snikos.nikoleris@arm.com# licensed hereunder. You may use the software subject to the license 912065Snikos.nikoleris@arm.com# terms below provided that you ensure that this notice is replicated 1012065Snikos.nikoleris@arm.com# unmodified and in its entirety in all distributions of the software, 1112065Snikos.nikoleris@arm.com# modified or unmodified, in source code or in binary form. 1212065Snikos.nikoleris@arm.com# 138439SN/A# Copyright (c) 2009 Advanced Micro Devices, Inc. 148439SN/A# All rights reserved. 158439SN/A# 168439SN/A# Redistribution and use in source and binary forms, with or without 178439SN/A# modification, are permitted provided that the following conditions are 188439SN/A# met: redistributions of source code must retain the above copyright 198439SN/A# notice, this list of conditions and the following disclaimer; 208439SN/A# redistributions in binary form must reproduce the above copyright 218439SN/A# notice, this list of conditions and the following disclaimer in the 228439SN/A# documentation and/or other materials provided with the distribution; 238439SN/A# neither the name of the copyright holders nor the names of its 248439SN/A# contributors may be used to endorse or promote products derived from 258439SN/A# this software without specific prior written permission. 268439SN/A# 278439SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 288439SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 298439SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 308439SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 318439SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 328439SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 338439SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 348439SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 358439SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 368439SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 378439SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 388439SN/A# 398439SN/A# Authors: Steve Reinhardt 408439SN/A# Brad Beckmann 418439SN/A 428439SN/Afrom m5.params import * 438439SN/Afrom m5.proxy import * 448439SN/Afrom m5.SimObject import SimObject 458439SN/A 468439SN/Aclass RubyDirectoryMemory(SimObject): 478439SN/A type = 'RubyDirectoryMemory' 488439SN/A cxx_class = 'DirectoryMemory' 4910301Snilay@cs.wisc.edu cxx_header = "mem/ruby/structures/DirectoryMemory.hh" 5012065Snikos.nikoleris@arm.com addr_ranges = VectorParam.AddrRange( 5112065Snikos.nikoleris@arm.com Parent.addr_ranges, "Address range this directory responds to") 52