summaryrefslogtreecommitdiff
path: root/python/m5/objects/Tsunami.mpy
blob: a8471cee23319a7e4bddbff28a0993a5c4ad0e26 (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")
    interrupt_frequency = Param.Int(1024, "frequency of interrupts")

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")

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