Tsunami.py revision 1366
1from Device import FooPioDevice 2from Platform import Platform 3 4simobj Tsunami(Platform): 5 type = 'Tsunami' 6 pciconfig = Param.PciConfigAll("PCI configuration") 7 system = Param.BaseSystem(Super, "system") 8 interrupt_frequency = Param.Int(1024, "frequency of interrupts") 9 10simobj TsunamiCChip(FooPioDevice): 11 type = 'TsunamiCChip' 12 tsunami = Param.Tsunami(Super, "Tsunami") 13 14simobj TsunamiFake(FooPioDevice): 15 type = 'TsunamiFake' 16 17simobj TsunamiIO(FooPioDevice): 18 type = 'TsunamiIO' 19 time = Param.UInt64(1136073600, 20 "System time to use (0 for actual time, default is 1/1/06)") 21 tsunami = Param.Tsunami(Super, "Tsunami") 22 23simobj TsunamiPChip(FooPioDevice): 24 type = 'TsunamiPChip' 25 tsunami = Param.Tsunami(Super, "Tsunami") 26