MipsTLB.py revision 13665
12632Sstever@eecs.umich.edu# -*- mode:python -*- 22632Sstever@eecs.umich.edu 32632Sstever@eecs.umich.edu# Copyright (c) 2007 MIPS Technologies, Inc. 42632Sstever@eecs.umich.edu# All rights reserved. 52632Sstever@eecs.umich.edu# 62632Sstever@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 72632Sstever@eecs.umich.edu# modification, are permitted provided that the following conditions are 82632Sstever@eecs.umich.edu# met: redistributions of source code must retain the above copyright 92632Sstever@eecs.umich.edu# notice, this list of conditions and the following disclaimer; 102632Sstever@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 112632Sstever@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the 122632Sstever@eecs.umich.edu# documentation and/or other materials provided with the distribution; 132632Sstever@eecs.umich.edu# neither the name of the copyright holders nor the names of its 142632Sstever@eecs.umich.edu# contributors may be used to endorse or promote products derived from 152632Sstever@eecs.umich.edu# this software without specific prior written permission. 162632Sstever@eecs.umich.edu# 172632Sstever@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182632Sstever@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192632Sstever@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202632Sstever@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212632Sstever@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222632Sstever@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232632Sstever@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242632Sstever@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252632Sstever@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262632Sstever@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272632Sstever@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282632Sstever@eecs.umich.edu# 292632Sstever@eecs.umich.edu# Authors: Jaidev Patwardhan 302022SN/A# Korey Sewell 312022SN/A 322022SN/Afrom m5.SimObject import SimObject 332022SN/Afrom m5.params import * 342022SN/A 352022SN/Afrom m5.objects.BaseTLB import BaseTLB 363275Sgblack@eecs.umich.edu 373275Sgblack@eecs.umich.educlass MipsTLB(BaseTLB): 383275Sgblack@eecs.umich.edu type = 'MipsTLB' 393275Sgblack@eecs.umich.edu cxx_class = 'MipsISA::TLB' 403275Sgblack@eecs.umich.edu cxx_header = 'arch/mips/tlb.hh' 413275Sgblack@eecs.umich.edu size = Param.Int(64, "TLB size") 423275Sgblack@eecs.umich.edu