Change the device latency here to a latency rather than a Tick
src/python/m5/objects/Device.py: src/python/m5/objects/Pci.py: Change the default here to a latency rather than a Tick --HG-- extra : convert_revision : b9366dd89646cea27a836baf249ac2da38c1809f
This commit is contained in:
parent
fe9e851e8c
commit
a50c5cc999
|
@ -12,7 +12,7 @@ class BasicPioDevice(PioDevice):
|
|||
type = 'BasicPioDevice'
|
||||
abstract = True
|
||||
pio_addr = Param.Addr("Device Address")
|
||||
pio_latency = Param.Tick(1, "Programmed IO latency in simticks")
|
||||
pio_latency = Param.Latency('1ns', "Programmed IO latency in simticks")
|
||||
|
||||
class DmaDevice(PioDevice):
|
||||
type = 'DmaDevice'
|
||||
|
|
|
@ -52,7 +52,7 @@ class PciDevice(DmaDevice):
|
|||
pci_bus = Param.Int("PCI bus")
|
||||
pci_dev = Param.Int("PCI device number")
|
||||
pci_func = Param.Int("PCI function code")
|
||||
pio_latency = Param.Tick(1, "Programmed IO latency in simticks")
|
||||
pio_latency = Param.Latency('1ns', "Programmed IO latency in simticks")
|
||||
configdata = Param.PciConfigData(Parent.any, "PCI Config data")
|
||||
|
||||
class PciFake(PciDevice):
|
||||
|
|
Loading…
Reference in a new issue