summaryrefslogtreecommitdiff
path: root/python/m5/objects/Tsunami.mpy
blob: c17eae121ead13318204920473970ac867121821 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from Device import FooPioDevice
from Platform import Platform

simobj Tsunami(Platform):
    type = 'Tsunami'
    pciconfig = Param.PciConfigAll("PCI configuration")
    system = Param.BaseSystem(parent.any, "system")

simobj TsunamiCChip(FooPioDevice):
    type = 'TsunamiCChip'
    tsunami = Param.Tsunami(parent.any, "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(parent.any, "Tsunami")
    frequency = Param.Frequency('1024Hz', "frequency of interrupts")

simobj TsunamiPChip(FooPioDevice):
    type = 'TsunamiPChip'
    tsunami = Param.Tsunami(parent.any, "Tsunami")