sample_firewire_device sample_i2c_device
Simics Reference Manual  /  5 Classes  / 

sample_generic_message_device

Description

The is the sample_generic_message_device class which is an example of how generic message devices can be written inSimics.

Interfaces Implemented

conf_object, log_object, generic_message_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.

Commands for this class

Attributes

address
Optional attribute; read/write access; type: i
Address of device itself on the link.
delay
Optional attribute; read/write access; type: i
Delay between each message in cycles.
dest_address
Optional attribute; read/write access; type: i
Destination address of the message.
frame_delay
Optional attribute; read/write access; type: i
Delay to send the message in ns.
length
Optional attribute; read/write access; type: i
Length of the message to send.
received_value
Optional attribute; read/write access; type: i
Last byte received from the link.
send_value
Optional attribute; read/write access; type: i
Value to send to the link.

Provided By

sample-generic-message-device
sample_firewire_device sample_i2c_device