Get rid of the Unallocated thread context state.
[gem5.git] / src / arch / sparc / SparcTLB.py
index 30e5ebb08bd5e670a89ffceb04b810b1a324676a..0c3fdc7fb6b2b23a9d2a47819ed1beff77567410 100644 (file)
 
 from m5.SimObject import SimObject
 from m5.params import *
-class SparcTLB(SimObject):
-    type = 'SparcTLB'
-    abstract = True
-    size = Param.Int("TLB size")
 
-class SparcDTB(SparcTLB):
-    type = 'SparcDTB'
-    size = 64
+from BaseTLB import BaseTLB
 
-class SparcITB(SparcTLB):
-    type = 'SparcITB'
-    size = 64
+class SparcTLB(BaseTLB):
+    type = 'SparcTLB'
+    cxx_class = 'SparcISA::TLB'
+    size = Param.Int(64, "TLB size")