3.3.4 ClockTimerThread

A ClockTimerThread(64) is a drop-in replacement for a ClockTimer(64) component. The main difference to the ClockTimer component is that the ClockTimerThread runs the signal() callback from a proper scheduler thread. This mean that the signal() function may directly or indirectly invoke wait() functions to wait for time or events. This is not allowed for the ClockTimer component which does not use a thread. Components which issue bus transactions from within the timer signal() callback must use ClockTimerThread(64) rather than ClockTimer(64). This model is written in LISA+.

ClockTimerThread contains the following CADI targets:

  • ClockTimerThread
  • ClockTimerThread64
  • SchedulerThread
  • SchedulerThreadEvent

Table 3-59 Ports

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