hw-rtc-sid (librtc.la :: rtc_component_library)

Synopsis:

This component is a fictional simplified high-precision real time clock.


Functionality:

Modelling:

This component is similar to high-precision dedicated counters present as performance tuning aids in some microprocessors. It supplies snapshots of the host systems' time to a target application

Behaviors
timing Whenever this component's bus is read with a valid address, it returns the addressed subset of two words of information. The first word (address 0x0) contains the number of seconds since the host system's epoch. The second word (address 0x4) contains the number of nanoseconds within that second. Both words are supplied in big-endian order.
more timing As a special bonus, the hour, minute, and second attributes contain the appropriate numbers for the current moment, in the GMT timezone.

SID Conventions
functional supported -
triggerpointnot supported -
state save/restorenot supported -
component gui supported -


Environment:

Related components

Host system

The component relies on the accuracy and precision of UTC time maintained by the host.


Component Reference:

Component: hw-rtc-sid

buses
nameaddressesaccessesbehaviors
registers0x0..0x7readtiming

attributes
namecategorylegal valuesdefault valuebehaviors
hourregister0..23-more timing
minuteregister0..59-more timing
secondregister0..59-more timing
tk xclock clonegui"hw-visual-clock"-component gui