Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
734 Views

Move data fast inside memory

Hi. 

 

I'm wonderng if any could expain for me how to solve my Project. 

 

I'm an old amiga demo coder and would like to test my skills on a de2-115 board. 

 

I have looked at the UP ip library. 

The missing part is a dma controlled blitter. 

I want to move an amount of data inside the memory from address a to address b length c. 

 

I want to make a Component for qsys. 

The cpu will only sett the addresses and length. And a start bit of this operaton. 

 

I know how to make a simple Component that uses Avalon slave. 

But i guess i mabie need data streaming?  

I tryed to write to the addressbuss. But qsys did not like that idea. 

 

Do you have any idea? 

 

BR 

Terje.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
29 Views

There are several DMAs in QSys. The "normal" DMA, the Scatter-Gather DMA and modular sgdma (http://www.alterawiki.com/wiki/modular_sgdma).  

 

If you want to make your own DMA, you need at least one Avalon MM slave for control and one Avalon MM master for DMA-ing. I suggest you have a look at modular SGMDA, just to get the basic idea how does DMA work. Modular SGDMA is optimized for speed, so the implementation is quite complicated (with Avalon streaming bus and FIFOs), your DMA does not need them (at least at the beginning).
Altera_Forum
Honored Contributor I
29 Views

Reply