User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 1452
UG585 (v1.11) September 27, 2016
Appendix B: Register Details
Register (mpcore) Global_Timer_Counter_Register0
Note: This register is the first in an array of 2 identical registers listed in the table below. The details
provided in this section apply to the entire array.
Register Global_Timer_Cou nter_Register0 to Global_Timer_Counter_Register1 Details
Name Global_Timer_Counter_Register0
Relative Address 0x00000200
Absolute Address 0xF8F00200
Width 32 bits
Access Type rw
Reset Value 0x00000000
Description Global Timer Counter Register 0
Name Address
Global_Timer_Counter
_Register0
0xf8f00200
Global_Timer_Counter
_Register1
0xf8f00204
Field Name Bits Type Reset Value Description
31:0 rw 0x0 There are two timer counter registers. They are
the lower 32-bit timer counter at offset
0x00 and the upper 32-bit timer counter at offset
0x04.
You must access these registers with 32-bit
accesses. You cannot use STRD/LDRD.
To modify the register proceed as follows:
1. Clear the timer enable bit in the Global Timer
Control Register
2. Write the lower 32-bit timer counter register
3. Write the upper 32-bit timer counter register
4. Set the timer enable bit.
To get the value from the Global Timer Counter
register proceed as follows:
1. Read the upper 32-bit timer counter register
2. Read the lower 32-bit timer counter register
3. Read the upper 32-bit timer counter register
again. If the value is different to the
32-bit upper value read previously, go back to
step 2. Otherwise the 64-bit timer
counter value is correct.