FuncUnit.py (9184:a1a8f137b796) | FuncUnit.py (9338:97b4a2be1e5b) |
---|---|
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 cxx_header = "cpu/func_unit.hh" |
|
56 issueLat = Param.Cycles(1, "cycles until another can be issued") 57 opClass = Param.OpClass("type of operation") 58 opLat = Param.Cycles(1, "cycles until result is available") 59 60class FUDesc(SimObject): 61 type = 'FUDesc' | 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") 60 61class FUDesc(SimObject): 62 type = 'FUDesc' |
63 cxx_header = "cpu/func_unit.hh" |
|
62 count = Param.Int("number of these FU's available") 63 opList = VectorParam.OpDesc("operation classes for this FU type") | 64 count = Param.Int("number of these FU's available") 65 opList = VectorParam.OpDesc("operation classes for this FU type") |