summaryrefslogtreecommitdiff
path: root/src/python/m5/objects/Repl.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/m5/objects/Repl.py')
-rw-r--r--src/python/m5/objects/Repl.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/python/m5/objects/Repl.py b/src/python/m5/objects/Repl.py
new file mode 100644
index 000000000..10892cf6f
--- /dev/null
+++ b/src/python/m5/objects/Repl.py
@@ -0,0 +1,11 @@
+from m5.SimObject import SimObject
+from m5.params import *
+class Repl(SimObject):
+ type = 'Repl'
+ abstract = True
+
+class GenRepl(Repl):
+ type = 'GenRepl'
+ fresh_res = Param.Int("associativity")
+ num_pools = Param.Int("capacity in bytes")
+ pool_res = Param.Int("block size in bytes")