The XilTimer library provides sleep and interval timer functionality where the Hardware and Software features are differentiated using a layered approach. The top level layer is platform-agnostic where the core layer (low level) is hardware dependent.
If none of the above-mentioned IPs are present in a given design, then the sleep functionality will be executed using processor instructions. For the sleep and tick functionality, you can select a specific timer using the library software configuration wizard. The following figure illustrates the XilTimer functionality.
Note: Currently, this library supports TTC, scutimer, and axi_timer IPs.
Figure 1. XilTimer Library