FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5925 Discussions

Synchronization between Processor and external FPGA

NSuku
Beginner
1,878 Views

I am trying to implement control mode switching in a motion control application. The processor will swap data sets in the memory and use it for some calculation. The FPGA is supposed to swap the data sets and use it for calculation in parallel. This has to be synchronized i.e in a single sample (time frame of 10 microseconds) where both the external processor and the Arria 10 FPGA Soc has to synchronize the switch. Can you give some ideas on how to achieve this?

Processor : PowerPC

FPGA : Arria 10 FPGA SoC

Interface : Serial Rapid IO

 

Thanks in advance!

Nivetha

0 Kudos
3 Replies
Fawaz_Al-Jubori
Employee
498 Views

Hello,

The best approach to sync data in this case would be the On chip FIFO with dual clock support.

In this IP, you can set 2 different clocks for data in and data out, with the flexibility of setting the FIFO depth.

 

Furthermore, if you can export a clock signal from this processor, you can feed it to a PLL, and this PLL will feed the FPGA. Also, you can do it in reverse, if this processor accepts external clock signal, you can use FPGA PLL to feed both FPGA design and external processor.

 

 

Thanks

0 Kudos
NSuku
Beginner
498 Views

Hi!

 

Thank you for your response. I will be using just an Arria 10 FPGA which does not have the hard processor.

 

Does the same method still applies ?

 

Thanks,

Nivetha

0 Kudos
Fawaz_Al-Jubori
Employee
498 Views

Hello,

Yes it is,

the On chip FIFO is a soft-core IP where you can use it with any Intel FPGA device.

 

Thanks

0 Kudos
Reply