summaryrefslogtreecommitdiff
path: root/src/python/m5/objects/SparcTLB.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/m5/objects/SparcTLB.py')
-rw-r--r--src/python/m5/objects/SparcTLB.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/python/m5/objects/SparcTLB.py b/src/python/m5/objects/SparcTLB.py
new file mode 100644
index 000000000..de732e8de
--- /dev/null
+++ b/src/python/m5/objects/SparcTLB.py
@@ -0,0 +1,14 @@
+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
+
+class SparcITB(SparcTLB):
+ type = 'SparcITB'
+ size = 48