15628SN/A# Copyright (c) 2008 The Hewlett-Packard Development Company
213692Sivan.pizarro@metempsy.com# Copyright (c) 2018 Metempsy Technology Consulting
35628SN/A# All rights reserved.
45628SN/A#
55628SN/A# Redistribution and use in source and binary forms, with or without
65628SN/A# modification, are permitted provided that the following conditions are
75628SN/A# met: redistributions of source code must retain the above copyright
85628SN/A# notice, this list of conditions and the following disclaimer;
95628SN/A# redistributions in binary form must reproduce the above copyright
105628SN/A# notice, this list of conditions and the following disclaimer in the
115628SN/A# documentation and/or other materials provided with the distribution;
125628SN/A# neither the name of the copyright holders nor the names of its
135628SN/A# contributors may be used to endorse or promote products derived from
145628SN/A# this software without specific prior written permission.
155628SN/A#
165628SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
175628SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
185628SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
195628SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
205628SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
215628SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
225628SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
235628SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
245628SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
255628SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
265628SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
275628SN/A#
285628SN/A# Authors: Gabe Black
2913692Sivan.pizarro@metempsy.com#          Ivan Pizarro
305628SN/A
3113692Sivan.pizarro@metempsy.comfrom m5.params import *
3213892Sgabeblack@google.comfrom m5.SimObject import SimObject
335628SN/A
3413892Sgabeblack@google.comclass BaseTLB(SimObject):
355628SN/A    type = 'BaseTLB'
365628SN/A    abstract = True
3710687SAndreas.Sandberg@ARM.com    cxx_header = "arch/generic/tlb.hh"
3813692Sivan.pizarro@metempsy.com    # Ports to connect with other TLB levels
3913692Sivan.pizarro@metempsy.com    slave  = VectorSlavePort("Port closer to the CPU side")
4013692Sivan.pizarro@metempsy.com    master = MasterPort("Port closer to memory side")
41