xilinx_ug472_7Series_Clocking 阅读记录
文章目录
Freq
- M–>CLKFBOUT_MULT_F
- D–>DIVCLK_DIVIDE
- O–>CLKOUT_DIVIDE
Limitations
In general, the major limitations are VCO operation range, input frequency, duty cycle programmability, and phase shift. In addition, there are connectivity limitations to other clocking elements (pins, GTs, and clock buffers).
下面贴出DS182中的MMCM相关参数
相移
Static Phase Shift Mode
The static phase shift (SPS) resolution in time units is defined as
Since the VCO can provide eight phase shifted clocks at 45° each; always providing possible settings for 0°, 45°, 90°, 135°, 180°, 225°, 270°, and 315° of phase shift. The higher the VCO frequency is, the smaller the phase-shift resolution.
Interpolated Fine Phase Shift in Fixed or Dynamic Mode in the MMCM
IFPS模式的相移和CLKOUT_DIVIDE的值无关,仅仅取决于VCO的频率,输出时钟的相移以1/56/Freq_vco的步进量线性递增,以360°循环。
Interpolated fine phase shift (IFPS) mode in the MMCM has linear shift behavior independent of the CLKOUT_DIVIDE value and the phase shift resolution only depends on the VCO frequency. In this mode the output clocks can be rotated 360° round robin in linear increments of 1/56th of the VCO period.
If the VCO runs at 600 MHz, then the phase resolution is approximately (rounded) 30 ps and at 1.6 GHz is approximately (rounded) 11 ps
There is no maximum phase shift or phase-shift overflow. An entire clock period (360 degrees) can always be phase shifted regardless of frequency.When the end of the period is reached, the phase shift wraps around round-robin style.
下文的叙述是基于XCV7485T-2FFG1927芯片在14.4版本的PlanAhead。
时钟资源
打开Device视图,能看到类似图1的视图,其中,XMYN表征的是时钟区域;另外还能看到有几个地方貌似是黑色空白的地方(已用方框框出),这些地方其实不是空无一物,而是放置了PCIE、XADC、DNA PORT、BSCAN、ICAP、FRAME_ECC、STARTUP等BEL的地方。
图1
图2 Clock Recources视图中,可以看到FPGA器件的所有时钟资源,可以将某个时钟资源进行MARK,这样就可以观测到它的位置信息等属性,
图2
图3所示的是BUFG资源,它位于FPGA的中心位置,将其放大,可以观测到它的输入输出,还可以通过属性窗口观测到它的其他信息,
图3
The global clock buffer can drive into every region through the HROW** even if not physically located there。具体讲述某个时钟区域,图4中大致标出了A、B、C、D、E及一个MARK的区域,图中心处的一条横线就是HROW,其中,
- A区域,IO Bank
- B区域,IN FIFO及OUT FIFO
- C区域,MMCM及PLL等
- D区域,DSP48
- E区域,Block RAM
- MARK,BUFR、BUFIO等,详见图5
图4
图5
The BUFIO only drives I/O clocking resources while the BUFR drives I/O resources and logic resources。
在两个时钟区域的交界处,会有BUFH资源,如图6所示
图6
The horizontal clock buffers (BUFH) drive through the HROW to every clocking point inthe region。
UG原文
- The number of clock regions varies with device size, from one clock region in the smallest device to 24 clock regions in the largest one.
- A clock region includes all synchronous elements (for instance: CLB, I/O, serial transceivers, DSP, block RAM, CMT) in an area spanning 50 CLBs and one I/O bank (50 I/Os), with a horizontal clock row (HROW) in its center.
- Each clock region spans 25 CLBs up and 25 CLBs down from the HROW, and horizontally across eachside of the device.