simple_i2c_device
size_histogram_connection
Simics Reference Manual
/
5 Classes
/
simple_pcie_device
Description
A simple PCIe device that can be used for testing.
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.
Port Objects
bank.pci_config
simple_pcie_device.pci_config
– The PCI configuration space.
Commands for this class
info
– print information about the object
print-pci-config-regs
–
deprecated
print PCI configuration registers
status
– print status of the object
Attributes
address
Optional
attribute;
read/write
access; type:
i
Transaction address in PCI memory.
config_registers
Pseudo
attribute;
read-only
access; type:
[i*]
The PCI configuration registers, each 32 bits in size.
data
Optional
attribute;
read/write
access; type:
d
Read/write transaction data from/to PCI memory.
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
.
size
Optional
attribute;
read/write
access; type:
i
Transaction size in PCI memory.
Provided By
simple-pcie-device
simple_pcie_device.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
bp-break-bank
– set device access break
bp-run-until-bank
– run until specified device access occurs
bp-trace-bank
– enable tracing of device accesses
bp-wait-for-bank
– wait for specified device access
Commands for interface instrumentation_order
instrumentation-move
– reorder instrumentation connections
instrumentation-order
– list instrumentation order for object
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
simple_i2c_device
size_histogram_connection