MipsISA.py (9384:877293183bdf) MipsISA.py (10033:21c14a2b2117)
1# Copyright (c) 2012 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 23 unchanged lines hidden (view full) ---

32# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
34# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35#
36# Authors: Andreas Sandberg
37
38from m5.SimObject import SimObject
39from m5.params import *
1# Copyright (c) 2012 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 23 unchanged lines hidden (view full) ---

32# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
34# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35#
36# Authors: Andreas Sandberg
37
38from m5.SimObject import SimObject
39from m5.params import *
40from m5.proxy import *
40
41class MipsISA(SimObject):
42 type = 'MipsISA'
43 cxx_class = 'MipsISA::ISA'
44 cxx_header = "arch/mips/isa.hh"
45
41
42class MipsISA(SimObject):
43 type = 'MipsISA'
44 cxx_class = 'MipsISA::ISA'
45 cxx_header = "arch/mips/isa.hh"
46
47 system = Param.System(Parent.any, "System this ISA object belongs to")
48
46 num_threads = Param.UInt8(1, "Maximum number this ISA can handle")
47 num_vpes = Param.UInt8(1, "Maximum number of vpes this ISA can handle")
49 num_threads = Param.UInt8(1, "Maximum number this ISA can handle")
50 num_vpes = Param.UInt8(1, "Maximum number of vpes this ISA can handle")