Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20705 Discussions

Nios II IDE program to test SGDMA and DMA

Altera_Forum
Honored Contributor II
1,017 Views

Hi all, 

 

I include here Nios II IDE program to test SGDMA and DMA, if in case someone is needed. 

 

Just rename .doc to .c 

 

Have a good weekend. 

Sean
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
296 Views

Thanks sean! So, does it similar to the memory test which used to test those off-chip memories like sdram, flash and .etc? 

 

Regards, 

Caridee
0 Kudos
Altera_Forum
Honored Contributor II
296 Views

caridee: This is not like test memory. It's only for DMA and SGDMA.  

 

DMA: Connect through Avalon-MM (memory map) 

SGDMA: Connect through Avalon-ST (streaming) 

 

You have to connect it to SDRAM and test from there.  

 

It's kinds of Avalon-MM and Avalon-ST. 

 

Sean
0 Kudos
Altera_Forum
Honored Contributor II
296 Views

hi sean, how to test the performance of DMA vs IOWR/IORD?

0 Kudos
Reply