sample_pci_device sample_pcie_sriov_device
Simics Reference Manual  /  5 Classes  / 

sample_pcie_device_old

Description

A sample PCI Express device

Interfaces Implemented

conf_object, log_object, io_memory, pci_device, pci_express

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.

Port Objects

bank.pci_config
sample_pcie_device_old.pci_config – The PCI configuration space.

Commands for this class

Attributes

attention_indicator
Optional attribute; read/write access; type: s
This attribute represents the attention indicator, which software can program to be OFF/BLINK/ON
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.
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, pci_express.

power_indicator
Optional attribute; read/write access; type: s
This attribute represents the power indicator, which software can program to be OFF/BLINK/ON

Provided By

sample-pcie-device-old

sample_pcie_device_old.pci_config

Description

The PCI configuration space.

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, int_register, io_memory, register_view

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

Attributes

bist
Optional attribute; read/write access; type: i
Build-in Self Test
cache_line_size
Optional attribute; read/write access; type: i
CacheLine Size
capabilities_ptr
Pseudo attribute; read/write access; type: i
Capabilities Pointer
cardbus_cis_ptr
Optional attribute; read/write access; type: i
Cardbus CIS Pointer
class_code
Optional attribute; read/write access; type: i
Class Code
command
Optional attribute; read/write access; type: i
Command Register
device_id
Optional attribute; read/write access; type: i
Device ID
header_type
Optional attribute; read/write access; type: i
Header Type
interrupt_line
Optional attribute; read/write access; type: i
Interrupt Line
interrupt_pin
Optional attribute; read/write access; type: i
Interrupt Pin
interrupts
Optional attribute; read/write access; type: i
Raised _internal_ interrupts
latency_timer
Optional attribute; read/write access; type: i
Latency Timer
max_lat
Optional attribute; read/write access; type: i
MAX_LAT
min_gnt
Optional attribute; read/write access; type: i
MIN_GNT
revision_id
Optional attribute; read/write access; type: i
Revision ID
status
Optional attribute; read/write access; type: i
Status Register
subsystem_id
Optional attribute; read/write access; type: i
Subsystem ID
subsystem_vendor_id
Optional attribute; read/write access; type: i
Subsystem Vendor ID
vendor_id
Optional attribute; read/write access; type: i
Vendor ID
sample_pci_device sample_pcie_sriov_device