DEC21143 DS12887-c
Simics Reference Manual  /  5 Classes  / 

DS12887

Description

This is a simulation model for the DS12887 real-time clock.

Interfaces Implemented

conf_object, log_object, io_memory, temporal_state

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.
state-change
Notifier on potential DML state change

Port Objects

bank.partially_persistent_registers
DS12887.partially_persistent_registers
bank.port_registers
DS12887.port_registers
bank.registers
DS12887.registers

Commands for this class

Attributes

base_rtc_time
Optional attribute; read/write access; type: i
The real-time clock time when the oscillator was enabled, in seconds since 1970-01-01 00:00:00.
base_time
Optional attribute; read/write access; type: f
The simulated time when the oscillator was enabled, in seconds since the start of the simulation.
irq_dev
Optional attribute; read/write access; type: o|[os]|n
The device that interrupts are sent to, or Nil if the interrupt line is not connected to anything.

Required interfaces: simple_interrupt.

irq_level
Required attribute; read/write access; type: i
The level at which interrupts are sent.
time
Pseudo attribute; read/write access; type: s
The internal time of the real-time clock on the format "YY-MM-DD hh:mm:ss".

Provided By

DS12887

DS12887.partially_persistent_registers

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, io_memory, register_view, register_view_read_only

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 interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

DS12887.port_registers

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, io_memory, register_view, register_view_read_only

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 interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

DS12887.registers

Interfaces Implemented

conf_object, log_object, bank_instrumentation_subscribe, instrumentation_order, io_memory, register_view, register_view_read_only

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 interface bank_instrumentation_subscribe

Commands for interface instrumentation_order

DEC21143 DS12887-c