Custom IP is very slow (pass data from ISE module to XPS PPC)
Posted on 2011-02-22
I'm actually running an application with a PPC440 on a virtex5.
On a first time, i sent data from a static buffer (in c code) from the PPC on a network line using LWIP and it's working pretty well.
Now instead of using a static coded buffer, i want to get data from my VHDL code (module coded in ISE). In order to do that i built a custom IP with FIFO.
The PPC is running at 400Mhz, and my VHDL code in ISE is running at 100Mhz.
My problem is i feed the fifo by 32bits data every 10ns BUT when i use the "CUSTOM_IP_TCP_FIFO_mReadFromFIFO(XPAR_CUSTOM_IP_TCP_FIFO_0_BASEADDR, 0)" method to read the fifo from the PPC it seems to get a lot of time so the fifo become full after few moment.
I don't know if this fifo stuff is the best way to pass data from sub module to PPC or if someone knows a best way ?
Or maybe i'm doing something wrong with my custom IP (on a PLB bus)?
Thank you for your help cause i'm really lost and my dead line project is comming soon