FPGARelated.com
Forums

lwIP RAW mode support for V4 temac

Started by Patrick Dubois May 3, 2007
On May 9, 7:16 pm, Jeff Cunningham <j...@sover.net> wrote:
> Guru wrote: > > > Ave Paul! There is a lack of fast and free TCP/IP stacks which work > > with TEMAC. It would be nice to port your stack to GSRD design > > (www.xilinx.com/gsrd) to get a maximum speed and royalty free > > reference design. I got this design working on Avnet Virtex-4FX12 > > MiniModule, which is a low cost high performance OEM module. > > Unfortunatelly there are no good reference designs which can exploit > > this performance. If I were a better SW engineer I could help you on > > development from which both would benefit. > > > Guru > > Hi Guru, > > I am the hardware engineer who is working with Paul. I'd love to hear > any comments you might have on our approach. > > Our application specific IP that must also fit in the FPGA is a PLB > master DMA device that uses about 50% of the BRAM and 25% of the fabric > in the FX12. We originally were going to use the FX12 Minimodule, but > switched to the ML403 to get 2x the DDR bandwidth. We can get by with > 400 Mb/s performance for now, but would like to get 800 Mb. > > It seemed like all the GSRD examples almost filled a FX12, particularly > with BRAM usage, so we used the EDK supplied PLB TEMAC core and the PLB > DDR controller for now. > > Since our app only needs high speed in the receive direction, it seemed > like it should be possible to remove half the GSRD logic (i.e. the > transmit part) and then everything would fit. As someone who has worked > with the GSRD, do you have a feel for how hard this would be? Or would > you guess the full GSRD (both directions) could fit with our IP somehow? > The critical resource seems to be BRAM and it always seemed like the > xilinx IP really used more BRAM that it should. > > thanks, > Jeff
Jeff, My GSRD design uses about 70% of FX12 logic resources and about 60% of BRAMs. BRAM usage is easy to control since you can set FIFO size from 1BRAM for a MPMC2 port. The best of MPMC2 is an NPI port which simplifies the user peripherals with DMA - what I use for image acquisition. I also tested TEMAC transfer rates to the PC: 730Mbit 1.5k MTU and 850Mbit for 7k MTU. If you need any additional resources do not hesiste to contact me. Guru
Hi, I'm trying to transfer a small .bin file of size utmost 1-2MB from PC to sdr ddrram of ML403 using a crossover Ethernet cable (TCP/IP). I'm using PowerPC and plb bus. How do I write a socket program to transfer the file?