This device does nothing useful, but can be used as a starting point when writing Simics devices in Python.
The source can be found at [simics]/src/devices/sample-device-python/.
conf_object, log_object, io_memory
- 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.
-
info
– print information about the object
-
status
– print status of the object
-
temperature
-
Optional attribute;
read/write access; type:
i
The temperature register.
sample-device-python