Forum Discussion
Altera_Forum
Honored Contributor
15 years agoYou'll need to add some protocol headers (probably MAC+IP+UDP) to the ethernet packet in order to be able to receive it.
It is possible to write vhdl to do that, but it won't be easy! I can't remember whether the dma normally associated with the TSE does scatter/gather (with support for misalingen buffers), if so you might manage to get it to read from a IO FIFO (for the packet data) by aliasing the FIFO read port into a large block of adjacent addresses. Unfortunately the SPOC builder doesn't like letting you set address aliasing! (Address aliasing can speed up the bus cycles and might well increase FMax. eg aliasing small IO into (say) 1k blocks and aliasing everything against a large memory block.)