summaryrefslogtreecommitdiff
path: root/objects/Repl.mpy
diff options
context:
space:
mode:
Diffstat (limited to 'objects/Repl.mpy')
-rw-r--r--objects/Repl.mpy7
1 files changed, 7 insertions, 0 deletions
diff --git a/objects/Repl.mpy b/objects/Repl.mpy
new file mode 100644
index 000000000..87e7bfb7d
--- /dev/null
+++ b/objects/Repl.mpy
@@ -0,0 +1,7 @@
+simobj Repl(SimObject):
+ abstract = True
+
+simobj GenRepl(Repl):
+ fresh_res = Param.Int("associativity")
+ num_pools = Param.Int("capacity in bytes")
+ pool_res = Param.Int("block size in bytes")