The clock-extension extension class is used to extend - see SIM_extend_class - CPU and clock classes with event posting functionality. The interfaces frequency and, for CPU classes, event_delta are to be provided by the class which is extended with this extension class.
The clock-extension class creates an instance of the vtime class - see vtime class - in the 'vtime' port of the parent object. The parent object should use the event_handler interface of the vtime object: event_handler's documentation describes the requirements to the parent object.
cycle
- 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.
- vtime
-
vtime
– event handler
- vtime.cycles
-
cycle-counter
– cycle queue
- vtime.ps
-
ps-clock
– event queue (ps)
-
cell
-
Optional attribute;
read/write access; type:
o|n
The cell this object clock/cpu belongs to
Simics Core