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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
798 Views
Registered: ‎01-24-2018

Use FPGA XCKU5P to config K7 325T FPGA by slave select map

Jump to solution

Hi

I am using FPGA XCKU5P to config K7 325T FPGA by slave select map 8bit mode

The cclk freq is 65Mhz.

The basic action in FPGA XCKU5P is to handle prog_b, init_b , cs_b , load the bit file of K7 325T and serialize to 8bit and FPGA XCKU5P looks like send out all data inn bit file of K7 325T, however done signal is still low .

 

I am asking for help to collect suggestion or technical support for any aspect I need to double-check

Thank you very much in advance! 

Best,

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
603 Views
Registered: ‎06-06-2018

Re: Use FPGA XCKU5P to config K7 325T FPGA by slave select map

Jump to solution

Hi zan_zhan@amat.com,

Connect PUDC_B to GND. 

 

Please dont use level Translators and provide same VCCO voltages for both FPGA. And note that VOH and VOL of Ultrascale device are below the VIH and VIL levels of 7 series devices.

 

From the Configuration register I observed that configuration not started.

 

Regards,

Deepak D N

---------------------------------------------------------------------------------

Please reply or give kudo or mark it as an Accepted Solution.

---------------------------------------------------------------------------------

14 Replies
Xilinx Employee
Xilinx Employee
754 Views
Registered: ‎06-06-2018

Re: Use FPGA XCKU5P to config K7 325T FPGA by slave select map

Jump to solution

Hi zan_zhan@amat.com

1. Ensure that you are following schematics of Slave select map in UG470.

2. Please share the schematic.

3.Please share configuration status register values when you facing this issue(I.e DONE not high).

4. For 7 series devices, please provide extra CCLK clock cycles ( provide more than 12 CCLK cycles) for DONE to go high.

Regards,

DEEPAK D N

-------------------------------------------

PLEASE REPLY OR GIVE KUDO OR ACCEPT AS A SOLUTION

-----------------------------------------------

0 Kudos
Moderator
Moderator
725 Views
Registered: ‎01-15-2008

Re: Use FPGA XCKU5P to config K7 325T FPGA by slave select map

Jump to solution

check the bitstream file you are using needs bitswap or not based on the pin connections from XCKU5P to selectmap interface x8 of kintex-7 device.

check the following link to get details on -disablebitswap

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2018_3/ug835-vivado-tcl-commands.pdf#nameddest=xwrite_cfgmem

0 Kudos
Adventurer
Adventurer
692 Views
Registered: ‎01-24-2018

Re: Use FPGA XCKU5P to config K7 325T FPGA by slave select map

Jump to solution

 

Hi DEEPAK,

Thank you very much for replying.

Below are some details in curren design.

1. FPGA XCKU5P loads bit file of 325T to config K7 325T

2. CCLK is 62.5MHz

3. Attached 2 picture is the schematic of K7 325T board. We are using TXS0108ERGYR as 2.5V -- 3.3V level convertor between

    FPGA XCKU5P's bank(2.5V) and K7 325T.

4. PUDC_B is pull-up. it is different from schematics of Slave select map in UG470.

    But not sure it does matter or not.

5. In your reply, you mentioned "Please share configuration status register values when you facing this issue(I.e DONE not high)"

   What configuration status register are you talking about?

 

Best,

 

 

k7 cfg1.png
k7 cfg2.png
0 Kudos
Adventurer
Adventurer
684 Views
Registered: ‎01-24-2018

Re: Use FPGA XCKU5P to config K7 325T FPGA by slave select map

Jump to solution

 

In UG470, I found below content about difference between bit and bin.

Which one I should use to let XCKU5P to load and use it to config K7 325T?

 

Best,

k7 cfg3.png
0 Kudos
Xilinx Employee
Xilinx Employee
679 Views
Registered: ‎08-25-2010

Re: Use FPGA XCKU5P to config K7 325T FPGA by slave select map

Jump to solution

Hi zan_zhan@amat.com,

Both of them can be used, as the only difference between them is the header information(in bit file) which can be ignored before sync word sent.

Thanks
Simon
-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Adventurer
Adventurer
663 Views
Registered: ‎01-24-2018

Re: Use FPGA XCKU5P to config K7 325T FPGA by slave select map

Jump to solution

Hi,

Below is the configuration register I read out this morning.

bit12 = 1

bit13 = 1 

Which means my config operation by SMAPx8 is done .

But I am confused that why the done led on my board does not turn on. 

k7_cfg4.png
0 Kudos
Adventurer
Adventurer
656 Views
Registered: ‎01-24-2018

Re: Use FPGA XCKU5P to config K7 325T FPGA by slave select map

Jump to solution

Please ignore the above screen shot (Configuration status). It is not the K7 325T instead of XCKU5P.

Below is the screen shot of configuration status of K7 325T.

 

 

k7_cfg5.png
0 Kudos
Adventurer
Adventurer
647 Views
Registered: ‎01-24-2018

Re: Use FPGA XCKU5P to config K7 325T FPGA by slave select map

Jump to solution

 

Below is the chipscope on output of XCKU5P. 

sm_data_bf[7:0] are output 8bit data to K7 325T

sm_cclk_cnt is the output cclk to K7 325T

The output data looks good also.

k7_cfg6.png
k7_cfg7.png
k7_cfg8.png
0 Kudos
Xilinx Employee
Xilinx Employee
611 Views
Registered: ‎03-07-2018

Re: Use FPGA XCKU5P to config K7 325T FPGA by slave select map

Jump to solution

Hello zan_zhan@amat.com

I believe you have implemented some logic or microprocessor inside of XCKU5P to configure  Kintex7 325T, as you are not using Parallel Daisy Chain Configuration Interface Example suggested in UG570 (Page 208) in which first device in the chain can be master SelectMAP, slave SelectMAP, or BPI.

I believe you are reading SPI flash with logic or microprocessor implemented inside of XCKU5P then configuring Kintex 7 by providing appropriate commands.

From your status register I see INIT_B is HIGH and Done is low that signifies The FPGA might not have recognized the sync word at the beginning of the bitstream. Check for proper delivery of the sync word. The FPGA might not have received the complete bitstream.

Kindly check XAPP583 (Page 7) for slave selectmap debugging methods.

Also check for special startup conditions provided in XAPP583 (Page 4) i.e.

1. Load all the bitstream data.
2. Continue to apply CCLK cycles (while the data bits on D01_DIN or D[31:00] are all ones)
until DONE is asserted High.
3. Apply eight additional CCLK cycles after DONE is asserted High to ensure completion of
the FPGA start-up sequence.

Regards,
Bhushan

-------------------------------------------------------------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
-------------------------------------------------------------------------------------------------------------------------------------------------
Xilinx Employee
Xilinx Employee
604 Views
Registered: ‎06-06-2018

Re: Use FPGA XCKU5P to config K7 325T FPGA by slave select map

Jump to solution

Hi zan_zhan@amat.com,

Connect PUDC_B to GND. 

 

Please dont use level Translators and provide same VCCO voltages for both FPGA. And note that VOH and VOL of Ultrascale device are below the VIH and VIL levels of 7 series devices.

 

From the Configuration register I observed that configuration not started.

 

Regards,

Deepak D N

---------------------------------------------------------------------------------

Please reply or give kudo or mark it as an Accepted Solution.

---------------------------------------------------------------------------------

Adventurer
Adventurer
595 Views
Registered: ‎01-24-2018

Re: Use FPGA XCKU5P to config K7 325T FPGA by slave select map

Jump to solution

 

1. Yes. I implemented a customized module (no microprocessor) in  XCKU5P FPGA.

 

"I believe you are reading SPI flash with logic or microprocessor implemented inside of XCKU5P then configuring Kintex 7 by providing appropriate commands."

2. No. SW write the bin data of K7 325T into DDR4 and XCKU5P FPGA read out bin data to config K7 325T.

3. About the sync word. I believe that at least XCKU5P FPGA send out correct sync word to K7 325T as shown in below chipscope.   K7 325T's sync word is AA995566 per UG470.

k7_cfg6.png
k7_cfg7.png
0 Kudos
Adventurer
Adventurer
593 Views
Registered: ‎01-24-2018

Re: Use FPGA XCKU5P to config K7 325T FPGA by slave select map

Jump to solution

I am going to pull PUDC_B to GND and give a try.

 

0 Kudos
Adventurer
Adventurer
587 Views
Registered: ‎01-24-2018

Re: Use FPGA XCKU5P to config K7 325T FPGA by slave select map

Jump to solution

may I have a further question about sync word?

If K7 325T fpga correctly received the correct sync word, what configuration status I should get ?

I want to firstly make sure sync word reach K7 and is received by K7 correctly. 

0 Kudos
Moderator
Moderator
569 Views
Registered: ‎01-15-2008

Re: Use FPGA XCKU5P to config K7 325T FPGA by slave select map

Jump to solution

during bitstream transfer you can send abort sequence and check if sync word is received or not.

check from page 47 from the following link to know about the abort procedure

https://www.xilinx.com/support/documentation/user_guides/ug470_7Series_Config.pdf