You copied the Doc URL to your clipboard.

ClockTimer64 component

This section describes the ClockTimer64 component.

ClockTimer64 component - about

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

This is a C++ component.

ClockTimer64 - ports

This section describes the ports.

Table 4-23 ClockTimer ports

Name Protocol Type Description
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
clk_in ClockSignal Slave Determines the tick rate of the timer

ClockTimer64 - verification and testing

This component passes internal unit tests.

ClockTimer64 - performance

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.