pwr: Adds logic to enter power gating for the cpu model
[gem5.git] / src / cpu / simple / TimingSimpleCPU.py
index 72560366e75b2d715eb3491371206203f32da397..25149eaa85bd6b35af31e70be63ebc38e6c85d1f 100644 (file)
@@ -32,3 +32,11 @@ from BaseSimpleCPU import BaseSimpleCPU
 class TimingSimpleCPU(BaseSimpleCPU):
     type = 'TimingSimpleCPU'
     cxx_header = "cpu/simple/timing.hh"
+
+    @classmethod
+    def memory_mode(cls):
+        return 'timing'
+
+    @classmethod
+    def support_take_over(cls):
+        return True