MipsISA.py revision 9384
16019Shines@cs.fsu.edu# Copyright (c) 2012 ARM Limited
26019Shines@cs.fsu.edu# All rights reserved.
36019Shines@cs.fsu.edu#
46019Shines@cs.fsu.edu# The license below extends only to copyright in the software and shall
56019Shines@cs.fsu.edu# not be construed as granting a license to any other intellectual
66019Shines@cs.fsu.edu# property including but not limited to intellectual property relating
76019Shines@cs.fsu.edu# to a hardware implementation of the functionality of the software
86019Shines@cs.fsu.edu# licensed hereunder.  You may use the software subject to the license
96019Shines@cs.fsu.edu# terms below provided that you ensure that this notice is replicated
106019Shines@cs.fsu.edu# unmodified and in its entirety in all distributions of the software,
116019Shines@cs.fsu.edu# modified or unmodified, in source code or in binary form.
126019Shines@cs.fsu.edu#
136019Shines@cs.fsu.edu# Redistribution and use in source and binary forms, with or without
146019Shines@cs.fsu.edu# modification, are permitted provided that the following conditions are
156019Shines@cs.fsu.edu# met: redistributions of source code must retain the above copyright
166019Shines@cs.fsu.edu# notice, this list of conditions and the following disclaimer;
176019Shines@cs.fsu.edu# redistributions in binary form must reproduce the above copyright
186019Shines@cs.fsu.edu# notice, this list of conditions and the following disclaimer in the
196019Shines@cs.fsu.edu# documentation and/or other materials provided with the distribution;
206019Shines@cs.fsu.edu# neither the name of the copyright holders nor the names of its
216019Shines@cs.fsu.edu# contributors may be used to endorse or promote products derived from
226019Shines@cs.fsu.edu# this software without specific prior written permission.
236019Shines@cs.fsu.edu#
246019Shines@cs.fsu.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
256019Shines@cs.fsu.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
266019Shines@cs.fsu.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
276019Shines@cs.fsu.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
286019Shines@cs.fsu.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
296019Shines@cs.fsu.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
306019Shines@cs.fsu.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
316019Shines@cs.fsu.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
326019Shines@cs.fsu.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
336019Shines@cs.fsu.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
346019Shines@cs.fsu.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
356019Shines@cs.fsu.edu#
366019Shines@cs.fsu.edu# Authors: Andreas Sandberg
376019Shines@cs.fsu.edu
386019Shines@cs.fsu.edufrom m5.SimObject import SimObject
396019Shines@cs.fsu.edufrom m5.params import *
406019Shines@cs.fsu.edu
416019Shines@cs.fsu.educlass MipsISA(SimObject):
426019Shines@cs.fsu.edu    type = 'MipsISA'
436019Shines@cs.fsu.edu    cxx_class = 'MipsISA::ISA'
446019Shines@cs.fsu.edu    cxx_header = "arch/mips/isa.hh"
456019Shines@cs.fsu.edu
466019Shines@cs.fsu.edu    num_threads = Param.UInt8(1, "Maximum number this ISA can handle")
476019Shines@cs.fsu.edu    num_vpes = Param.UInt8(1, "Maximum number of vpes this ISA can handle")
486019Shines@cs.fsu.edu