|Home > Fast Models components > Clocking components > 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:
Table 3-66 Ports
||Slave||Determines the tick rate of the timer.|
||Master||Port on which a signal is sent after the number of scheduled ticks has elapsed.|
||Slave||Permits the timer to be set, canceled and queried.|