Forum Discussion
Altera_Forum
Honored Contributor
14 years agoUnfortunately I don't have an example. If you need to see how to implement these by hand you can take a look at the "one_to_two_demux" and "two_to_one_mux" cores in this design: http://www.altera.com/support/examples/design-entry-tools/qsys/exm-qsys-tut.html
By the way, if your output after all the streaming stuff is equal in length to the input you might find this mSGDMA easier to work with since it exposes ST ports between the read and write masters so that you can do the data movement as a single MM to MM transfer: http://www.altera.com/support/examples/nios2/exm-modular-scatter-gather-dma.html If you turned on packet support and coded a channel number at the beginning of the buffer that would be an easy way to route the ST datagram through your custom ST components. Food for thought....