Chapter 4: Clocking and Resets
DPU IP Product Guide
25
PG338 (v1.2) March 26, 2019
Data Controller Clock
The primary function of the data controller module is to schedule the data flow in the DPU IP. The data
controller module works with
m_axi_dpu_aclk
. The data transfer between DPU and external memory
happens in the data controller clock domain, so
m_axi_dpu_aclk
is also the AXI clock for the AXI_MM
master interface in the DPU IP. You should connect
m_axi_dpu_aclk
with the AXI_MM master clock.
Computation Clock
The DSP slides in the computation unit module are in the
dpu_2x_clk
domain, which doubles the clock
frequency of the data controller module. Therefore, the frequency of the
dpu_2x_clk
should be twice
the
m_axi_dpu_aclk
. Furthermore, the two related clocks must be edge-aligned.
Reference Clock Generation
There are three input clocks for the DPU in which the frequency of the
dpu_2x_clk
should be two
times the
m_axi_dpu_aclk
and the two clocks must be synchronous to meet the timing closure. The
recommended circuit design is shown in Figure 13.
MMCM
RST
CLKIN
CLKOUT
BUFGCE_DIV
CE
CLR
I
O
BUFGCE_DIV_CLK2_INST
dpu_clk_2x
BUFGCE_DIV
CE
CLR
I
O
BUFGCE_DIV_CLK1_INST
dpu_clk
clk_in1
resetn
X22335-022019
Figure 13: Reference Circuit
You can instantiate an MMCM and two BUFGCE_DIV to design this circuit. The frequency of
clk_in1
is
arbitrary and the frequency of output clock CLKOUT in the MMCM should be the frequency of
dpu_clk_2x
. The BUFGCE_DIV_CLK1_INST obtains the clock of whichever frequency is half of the
dpu_clk_2x
. The
dpu_clk
and
dpu_clk_2x
are generated by the same clock, so they are
synchronous. The two BUFGCE_DIVs enable the skew between the two clocks to significantly decrease,
which helps with timing closure.
Using Clock Wizard
You can instantiate a clock wizard IP to generate the above circuit. In this reference design, the
frequency of
s_axi_aclk
is set to 100 MHz and
m_axi_dpu_aclk
is set to 333 MHz, which is also the
maximum frequency of AXI-HP interfaces in Xilinx Ult™ MPSoC devices. Therefore, the frequency