summaryrefslogtreecommitdiff
path: root/python/m5/objects/Tsunami.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/m5/objects/Tsunami.py')
-rw-r--r--python/m5/objects/Tsunami.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/python/m5/objects/Tsunami.py b/python/m5/objects/Tsunami.py
new file mode 100644
index 000000000..fa3c18127
--- /dev/null
+++ b/python/m5/objects/Tsunami.py
@@ -0,0 +1,26 @@
+from m5 import *
+from Device import FooPioDevice
+from Platform import Platform
+
+class Tsunami(Platform):
+ type = 'Tsunami'
+ pciconfig = Param.PciConfigAll("PCI configuration")
+ system = Param.BaseSystem(Parent.any, "system")
+
+class TsunamiCChip(FooPioDevice):
+ type = 'TsunamiCChip'
+ tsunami = Param.Tsunami(Parent.any, "Tsunami")
+
+class TsunamiFake(FooPioDevice):
+ type = 'TsunamiFake'
+
+class TsunamiIO(FooPioDevice):
+ type = 'TsunamiIO'
+ time = Param.UInt64(1136073600,
+ "System time to use (0 for actual time, default is 1/1/06)")
+ tsunami = Param.Tsunami(Parent.any, "Tsunami")
+ frequency = Param.Frequency('1024Hz', "frequency of interrupts")
+
+class TsunamiPChip(FooPioDevice):
+ type = 'TsunamiPChip'
+ tsunami = Param.Tsunami(Parent.any, "Tsunami")