sample_notifier_dml sample_pcie_device_old
Simics Reference Manual  /  5 Classes  / 

sample_pci_device

Description

This is a very simple PCI device.

Interfaces Implemented

conf_object, log_object, io_memory, pci_device

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
state-change
Notifier on potential DML state change

Port Objects

bank.pci_config
sample_pci_device.pci_config – The PCI configuration space.
bank.regs
sample_pci_device.regs
port.HRESET
sample_pci_device.HRESET
port.SRESET
sample_pci_device.SRESET

Commands for this class

Attributes

config_registers
Pseudo attribute; read-only access; type: [i*]
The PCI configuration registers, each 32 bits in size.
expansion_rom_size
Optional attribute; read/write access; type: i
The size of the expansion ROM mapping.
int_attr
Optional attribute; read/write access; type: i
An integer attribute
pci_bus
Optional attribute; read/write access; type: o|[os]|n
The PCI bus this device is connected to, implementing the pci-bus interface.

Required interfaces: io_memory, pci_bus.

Provided By

sample-pci-device

sample_pci_device.HRESET

Interfaces Implemented

conf_object, log_object, signal

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

sample_pci_device.SRESET

Interfaces Implemented

conf_object, log_object, signal

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

sample_pci_device.pci_config

Description

The PCI configuration space.

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, io_memory, register_view, register_view_read_only

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

sample_pci_device.regs

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, io_memory, register_view, register_view_read_only

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

sample_notifier_dml sample_pcie_device_old