AlphaTLB.py revision 4486:aaeb03a8a6e1
14997Sgblack@eecs.umich.edu# Copyright (c) 2005-2007 The Regents of The University of Michigan
24997Sgblack@eecs.umich.edu# All rights reserved.
34997Sgblack@eecs.umich.edu#
44997Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
54997Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
64997Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
74997Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
84997Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
94997Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
104997Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
114997Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
124997Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
134997Sgblack@eecs.umich.edu# this software without specific prior written permission.
144997Sgblack@eecs.umich.edu#
154997Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
164997Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
174997Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
184997Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
194997Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
204997Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
214997Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
224997Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
234997Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
244997Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
254997Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
264997Sgblack@eecs.umich.edu#
274997Sgblack@eecs.umich.edu# Authors: Nathan Binkert
284997Sgblack@eecs.umich.edu
294997Sgblack@eecs.umich.edufrom m5.SimObject import SimObject
304997Sgblack@eecs.umich.edufrom m5.params import *
314997Sgblack@eecs.umich.educlass AlphaTLB(SimObject):
324997Sgblack@eecs.umich.edu    type = 'AlphaTLB'
334997Sgblack@eecs.umich.edu    abstract = True
344997Sgblack@eecs.umich.edu    size = Param.Int("TLB size")
354997Sgblack@eecs.umich.edu
364997Sgblack@eecs.umich.educlass AlphaDTB(AlphaTLB):
374997Sgblack@eecs.umich.edu    type = 'AlphaDTB'
384997Sgblack@eecs.umich.edu    size = 64
394997Sgblack@eecs.umich.edu
404997Sgblack@eecs.umich.educlass AlphaITB(AlphaTLB):
414997Sgblack@eecs.umich.edu    type = 'AlphaITB'
424997Sgblack@eecs.umich.edu    size = 48
434997Sgblack@eecs.umich.edu