FuncUnit.py (9338:97b4a2be1e5b) FuncUnit.py (10807:dac26eb4cb64)
1# Copyright (c) 2010 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

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

49 'SimdSqrt', 'SimdFloatAdd', 'SimdFloatAlu', 'SimdFloatCmp',
50 'SimdFloatCvt', 'SimdFloatDiv', 'SimdFloatMisc', 'SimdFloatMult',
51 'SimdFloatMultAcc', 'SimdFloatSqrt',
52 'MemRead', 'MemWrite', 'IprAccess', 'InstPrefetch']
53
54class OpDesc(SimObject):
55 type = 'OpDesc'
56 cxx_header = "cpu/func_unit.hh"
1# Copyright (c) 2010 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

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

49 'SimdSqrt', 'SimdFloatAdd', 'SimdFloatAlu', 'SimdFloatCmp',
50 'SimdFloatCvt', 'SimdFloatDiv', 'SimdFloatMisc', 'SimdFloatMult',
51 'SimdFloatMultAcc', 'SimdFloatSqrt',
52 'MemRead', 'MemWrite', 'IprAccess', 'InstPrefetch']
53
54class OpDesc(SimObject):
55 type = 'OpDesc'
56 cxx_header = "cpu/func_unit.hh"
57 issueLat = Param.Cycles(1, "cycles until another can be issued")
58 opClass = Param.OpClass("type of operation")
59 opLat = Param.Cycles(1, "cycles until result is available")
57 opClass = Param.OpClass("type of operation")
58 opLat = Param.Cycles(1, "cycles until result is available")
59 pipelined = Param.Bool(True, "set to true when the functional unit for"
60 "this op is fully pipelined. False means not pipelined at all.")
60
61class FUDesc(SimObject):
62 type = 'FUDesc'
63 cxx_header = "cpu/func_unit.hh"
64 count = Param.Int("number of these FU's available")
65 opList = VectorParam.OpDesc("operation classes for this FU type")
61
62class FUDesc(SimObject):
63 type = 'FUDesc'
64 cxx_header = "cpu/func_unit.hh"
65 count = Param.Int("number of these FU's available")
66 opList = VectorParam.OpDesc("operation classes for this FU type")