FuncUnit.py (7760:e93e7e0caae1) FuncUnit.py (9184:a1a8f137b796)
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

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

48 'SimdMisc', 'SimdMult', 'SimdMultAcc', 'SimdShift', 'SimdShiftAcc',
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'
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

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

48 'SimdMisc', 'SimdMult', 'SimdMultAcc', 'SimdShift', 'SimdShiftAcc',
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 issueLat = Param.Int(1, "cycles until another can be issued")
56 issueLat = Param.Cycles(1, "cycles until another can be issued")
57 opClass = Param.OpClass("type of operation")
57 opClass = Param.OpClass("type of operation")
58 opLat = Param.Int(1, "cycles until result is available")
58 opLat = Param.Cycles(1, "cycles until result is available")
59
60class FUDesc(SimObject):
61 type = 'FUDesc'
62 count = Param.Int("number of these FU's available")
63 opList = VectorParam.OpDesc("operation classes for this FU type")
59
60class FUDesc(SimObject):
61 type = 'FUDesc'
62 count = Param.Int("number of these FU's available")
63 opList = VectorParam.OpDesc("operation classes for this FU type")