summaryrefslogtreecommitdiff
path: root/python/m5/objects/Platform.mpy
diff options
context:
space:
mode:
Diffstat (limited to 'python/m5/objects/Platform.mpy')
-rw-r--r--python/m5/objects/Platform.mpy5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/m5/objects/Platform.mpy b/python/m5/objects/Platform.mpy
new file mode 100644
index 000000000..d0510eaf8
--- /dev/null
+++ b/python/m5/objects/Platform.mpy
@@ -0,0 +1,5 @@
+simobj Platform(SimObject):
+ type = 'Platform'
+ abstract = True
+ interrupt_frequency = Param.Tick(1200, "frequency of interrupts")
+ intrctrl = Param.IntrControl(Super, "interrupt controller")