sample_notifier_cc sample_pci_device
Simics Reference Manual  /  5 Classes  / 

sample_notifier_dml

Description

Example of a device both subscribing to and publishing notifiers

Interfaces Implemented

conf_object, log_object, frequency

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
frequency-change
Notifier that is triggered when frequency changes. New frequency can be read via the frequency interface of the object.
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

Commands for this class

Attributes

frequency_provider
Required attribute; read/write access; type: o|[os]
upstream frequency provider, whose frequency and frequency change notification is forwarded through the device, with the frequency being modulated according to multiplier

Required interfaces: frequency.

multiplier
Optional attribute; read/write access; type: f
frequency forwarded through the device from the frequency provider is multiplied by this amount

Provided By

sample-notifier-dml
sample_notifier_cc sample_pci_device