UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 52626

7 Series, STARTUPE2 - USRCCLK0 requires three clock cycles to switch CCLK output to User Function

Description

Applying a clock to USRCCLK0 using the STARTUPE2 primitive does not show any response on the external CCLK line for the first few cycles.

Also, if I use the EMCCLK pin to supply a configuration clock source, I see that this clock is still provided on the CCLK pin after the device has configured and DONE has gone High.

Is this expected behavior?

Solution

The STARTUPE2 primitive will ignore the first three clock cycles after configuration.

However, this behavior is not seen when stopping and starting the clock after the clock is already in use.

These two clock cycles are required to switch the CCLK source from the internal configuration bus to the USERCCLK0 input from FPGA fabric.

When EMCCLK is used as the clock source for configuration, this is an additional concern if the following conditions are met:

  • STARTUPE2 is instantiated
  • USRCCLKTS is set to 0
  • USERCCLK is connected
  • EMCCLK is used as a configuration source


In this case, the three clock cycles are required to switch EMCCLK from clock input to User I/O. 

If USERCCLK0 is gated and no clocks are passed after EOS, then EMCCLK will continue to run on CCLK after configuration completes.

Also, if EMCCLK is used as an I/O in the design, this pin will not switch to User function.

Virtex-6 exhibits the same behavior.

Linked Answer Records

Associated Answer Records

Answer Number Answer Title Version Found Version Resolved
35954 Virtex-5 - USERCLKO and CCLK not synchonised in STARTUP_VIRTEX5 when accessing SPI Flash N/A N/A
AR# 52626
Date Created 10/26/2012
Last Updated 09/21/2015
Status Active
Type General Article
Devices
  • Kintex-7
  • Virtex-7
  • Artix-7
  • Virtex-6