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