FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6519 Discussions

Question about msgdma MM2MM mode utility

chgm
Beginner
689 Views

Hi, experts

 

I have built a NIOS II system to verify MSGDMA. The structure is shown as below:

msgdma_1.PNG

The steps it works:

  1. NIOS write test pattern to some certain space in DDR3
  2. NIOS configure MSGDMA to mm2mm mode
  3. Write descriptors to MSGDMA and the Read Master read test pattern out and send to the 2-cycle delay module
  4. Write Master send the data back to DDR3, but at different memory space.
  5. NIOS read the data out and compare with the original test pattern.

When it begins to run, the system always hang on waiting for completion IRQ, but no IRQ generated. I checked the memory, some data were lost during transfer.

When I remove the delay module, and directly loopback the Avalon-S T port of Write Master and Read Master, everything goes well.

My question is , is it possible to add some processing module when MSGDMA in MM2MM mode ? if yes, How it handle it ?

0 Kudos
1 Reply
chgm
Beginner
480 Views

I come back to finish this , I solved this in a very simple way, that is , set the msgdma data fifo depth larger !

0 Kudos
Reply