Tsunami.py revision 2542
1from m5 import * 2from Device import BasicPioDevice 3from Platform import Platform 4 5class Tsunami(Platform): 6 type = 'Tsunami' 7# pciconfig = Param.PciConfigAll("PCI configuration") 8 system = Param.System(Parent.any, "system") 9 10class TsunamiCChip(BasicPioDevice): 11 type = 'TsunamiCChip' 12 tsunami = Param.Tsunami(Parent.any, "Tsunami") 13 14class IsaFake(BasicPioDevice): 15 type = 'IsaFake' 16 pio_size = Param.Addr(0x8, "Size of address range") 17 18class TsunamiIO(BasicPioDevice): 19 type = 'TsunamiIO' 20 time = Param.UInt64(1136073600, 21 "System time to use (0 for actual time, default is 1/1/06)") 22 tsunami = Param.Tsunami(Parent.any, "Tsunami") 23 frequency = Param.Frequency('1024Hz', "frequency of interrupts") 24 25class TsunamiPChip(BasicPioDevice): 26 type = 'TsunamiPChip' 27 tsunami = Param.Tsunami(Parent.any, "Tsunami") 28