Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Read data from FPGA

Hi there,

 

A simple one:

 

I have a RT application where I transfer small amounts of data (around 1Kb) between 5 FPGAs (7813R) and a microprocessor (8106RT) at high speed (2KHz). The data is used to implement a closed loop control system, so I really ned new data available in the uP each 500us. Ideally for the stability of my system I would need to do all the reading, processing and otputs writting in less than 100us.

 

DMA FIFOS don't seem to be a good option for this application and the Read/Write block have proben to be too slow for my requirements (around 100us to read from FPGAs, 70 us to write to FPGAs)

 

Do I have any other option for doing this data transfer? Is there any way of using lower level code/instructions other than this Read/Write blocks and implement a faster communication?

 

0 Kudos
Message 1 of 2
(3,617 Views)

If you want to tranfer 1 kB (you said Kb, but I think you meant byte, not bit) of data every 500 us, you should be using DMA FIFOs instead of reads and writes.  The host can just be waiting on new data to be on the FIFO and immediately process that data when it arrives and write to the output FIFO.

 

0 Kudos
Message 2 of 2
(3,599 Views)