Tsunami.py revision 1634
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(parent.any, "system") 8 9simobj TsunamiCChip(FooPioDevice): 10 type = 'TsunamiCChip' 11 tsunami = Param.Tsunami(parent.any, "Tsunami") 12 13simobj TsunamiFake(FooPioDevice): 14 type = 'TsunamiFake' 15 16simobj TsunamiIO(FooPioDevice): 17 type = 'TsunamiIO' 18 time = Param.UInt64(1136073600, 19 "System time to use (0 for actual time, default is 1/1/06)") 20 tsunami = Param.Tsunami(parent.any, "Tsunami") 21 frequency = Param.Frequency('1024Hz', "frequency of interrupts") 22 23simobj TsunamiPChip(FooPioDevice): 24 type = 'TsunamiPChip' 25 tsunami = Param.Tsunami(parent.any, "Tsunami") 26