FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5881 Discussions

Scatter-gather DMA for tse

Altera_Forum
Honored Contributor II
1,511 Views

Hi everyone, 

 

I looked into reference designs about tse(triple-speed ethernet), and I found that all these tse applications are built around NIOSII with scatter-gather DMAs.  

 

My question is that if I just want to build a standalone tse (I'll use some simple control logic to program tse before sending/receiving packet), should I also include scatter-gather DMA into my design? And what's purpose of scatter-gather DMA? 

 

Thanks!
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
86 Views

The purpose of DMA is to avoid loading cpu with the task of transferring rx and tx data when is needed: the sgdma will take care of that, by directly placing data to and from the memory.  

In the case of tse you can use it without sgdma but you need to connect it to a device with Avalon streaming interface in order to manage tx/rx data.
Altera_Forum
Honored Contributor II
86 Views

If you put the TSE into 32-bit mode and connected the ST interfaces to FIFOs that support MM on one side and ST on the other you could manage the traffic using software. It'll be dog slow since the CPU will be directly in the data path. This would also require changes to the code which assumes there are SGDMAs moving the data around.

Altera_Forum
Honored Contributor II
86 Views

Thanks a lot! Now I understand

Reply