3.3.3 ClockTimer64

A ClockTimer64 provides support for counting a number of ticks at the rate determined by the input clock. When the countdown reaches zero, the timer can send a signal to another component. That component can return a value that will cause the timer to start counting down again. Setting up a timer is very efficient, and no host processing time is used while a counter is counting down: when a timer is started, the scheduler precomputes the finish time. This version of the timer provides 64 bit resolution. This model is written in C++.

An active ClockTimer64 component incurs no simulation overhead. For best performance, avoid having your performance-critical code frequently cancel timers or query the number of remaining ticks.

This component provides a mechanism for other components to schedule a callback after a number of ticks at a given ClockSignal rate.

Table 3-58 Ports

Name Protocol Type Description
clk_in ClockSignal Slave Determines the tick rate of the timer.
timer_callback TimerCallback64 Master Port on which a signal is sent after the number of scheduled ticks has elapsed.
timer_control TimerControl64 Slave Permits the timer to be set, canceled and queried.
Non-ConfidentialPDF file icon PDF version100964_1180_00_en
Copyright © 2014–2019 Arm Limited or its affiliates. All rights reserved.