Slave SelectMap using GPIF II

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 Hi,

   

We plan to use the FX3 GPIF II to drive a Xilinx Kintex-7 SelectMap programming interface.

   

In order to control it properly, we'd like to write/read PROG_B, INIT_B and DONE to/from GPIOs controlled by firmware and use GPIF II just for clock, data and CSI_B.

   

In fact, we just have to init sequence by firmware with PROG_B/INIT_B then wait for a data in a socket, then send it on the GPIF II data bus and assert CSI_B in the same time data is valid, until there is no more data and DONE pin is driven high.

   

As the GPIF state machine will rely only on data present in the socket, it should be very simple like that:

   

IDLE -> Set data on bus -> Hold data on bus to respect FPGA setup/hold requirements -> IDLE ->....

   

But, what should be the transition trigger from IDLE to Set data on bus? Since it does only depends on data present in the socket? Is DMA_RDY_CT ok? Because it tells DMA is ready, not if a data is present in the socket...

   

Thanks in advance for the help.

   

Johan

0 Likes
2 Replies
Anonymous
Not applicable

Hi,

   

You can use DMA_RDY_CT or DMA_RDY_THx if you are using socket x as consumer sockect on the GPIF II side.

   

where x takes values from 0 to 3.

   

Thanks,

   

sai krishna.

0 Likes
Anonymous
Not applicable

 Hi,

   

It was what I expected, thanks for the confirmation.

   

I really appreciate our help.

   

Have a nice day.

   

Best regards,

   

Johan

0 Likes