User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 693
UG585 (v1.11) September 27, 2016
Chapter 25: Clocks
Clock Controller States
The clock controller states are illustrated in Figure 25-11.
25.7.2 Clock Throttle Programming
Example: Stop/Start Clock
This example illustrates a simple method to stop and start a PL clock (FCLKCLKx) using writes to the
last count field in the throttle count register, slcr.FPGAx_THR_CNT [LAST_CNT]. The example assumes
the slcr.FPGAx_THR_CTRL register is kept in its default state of 0x0000_0000.
1. Stop Clock: Write 0x0000_0001 to slcr.FPGAx_THR_CTRL to immediately stop the clock.
°
[LAST_CNT] = 1
°
[Reserved] = 0
2. Start Clock: Write 0x0000_0000 to slcr.FPGAx_THR_CTRL to resume a continuous clock.
°
[LAST_CNT] = 0
°
[Reserved] = 0
X-Ref Target - Figure 25-11
Figure 25-11: PL Clock Throttle States
UG585_c25_11_102912
Software
RUN
decrement
[CURR_VAL]
HALT
Clock stopped &
halt [CURR_VAL]
Hardware:
[CURR_VAL]
= 0
PL signal driven 0 to 1:
FCLKCLKTRIGxN
Software:
Rising edge of
CPU_[START]
Software:
Rising edge of
[CPU_START]