User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 239
UG585 (v1.11) September 27, 2016
Chapter 8: Timers
8.3 Global Timer (GT)
The Global Timer is fully documented in the Cortex-A9 MPCore Technical Requirements Document,
sections 4.3 and 4.4 (see Appendix A, Additional Resources). The global timer is a 64-bit
incrementing counter with an auto-incrementing feature. The global timer is memory mapped in the
same address space as the private timers. The global timer is accessed at reset in secure state only.
The global timer is accessible to all Cortex-A9 processors. Each Cortex-A9 processor has a 64-bit
comparator that is used to assert a private interrupt when the global timer has reached the
comparator value.
8.3.1 Clocking
The GTC is always clocked at 1/2 of the CPU frequency (CPU_3x2x).
8.3.2 Register Overview
A register overview of the GTC is provided in Table 8-2.
Reset status Watchdog Reset Status
Reset status as a result of watchdog reaching 0.
Cleared with POR only, so SW can tell if the reset was
caused by watchdog.
Disable Watchdog Disable
Disable watchdog through a sequence of writes of
two specific words.
Table 8-1: CPU Private Timers Register Overview (Contd)
Function Name Overview
Table 8-2: Global Timer Register Overview
Function Name Overview
Global Timer (GTC)
Current values Global Timer Counter Current value of the incrementer
Control and interrupt
Global Timer Control
Global Interrupt
Enable timer, enable comparator, IRQ,
auto-increment, interrupt status
Comparator
Comparator Value
Comparator Increment
Current value of the comparator
Increment value for the comparator
Global Timer Disable Disable watchdog through a sequence of writes of
two specific words