This is a very simple device which shows how you can use C/C++ code from DML.
conf_object, log_object, myinterface
- 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.
- bank.regs
-
sample_device_mixed.regs
-
info
– print information about the object
-
status
– print status of the object
sample-device-mixed
conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, int_register, io_memory, register_view
- 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.