cpu: Correctly call parent on switchOut() and takeOverFrom()
[gem5.git] / src / cpu / FuncUnit.py
index 92d7e13ca2d2daaec80d072b29e6b5598c0a5d4a..0bb23e876d0690aff21720905d99ad7ff44b7634 100644 (file)
@@ -53,11 +53,13 @@ class OpClass(Enum):
 
 class OpDesc(SimObject):
     type = 'OpDesc'
+    cxx_header = "cpu/func_unit.hh"
     issueLat = Param.Cycles(1, "cycles until another can be issued")
     opClass = Param.OpClass("type of operation")
     opLat = Param.Cycles(1, "cycles until result is available")
 
 class FUDesc(SimObject):
     type = 'FUDesc'
+    cxx_header = "cpu/func_unit.hh"
     count = Param.Int("number of these FU's available")
     opList = VectorParam.OpDesc("operation classes for this FU type")