PULP Community
udma memory to memory data transfer test bench - Printable Version

+- PULP Community (https://pulp-platform.org/community)
+-- Forum: PULP's Community forum (https://pulp-platform.org/community/forumdisplay.php?fid=1)
+--- Forum: PULP General questions (https://pulp-platform.org/community/forumdisplay.php?fid=2)
+--- Thread: udma memory to memory data transfer test bench (/showthread.php?tid=197)



udma memory to memory data transfer test bench - RiscV - 06-29-2020

Hi
Currently I am writing a test bench for transferring a 32 bit data from one location to another memory location in RISCV  pulp. I am bit confused how to set the address of DMA transmit bus and the procedure for transferring the data. Can you help me regarding this

code I wrote for transferring data without DMA is

li x15,64
LUI x14, 0x1c000 // Source address selected is 0x1c000001
sw x15, 001(x14)
LUI x13, 0x1c010  // destination address is 0x1c01000
sw x14, 0(x13)


RE: udma memory to memory data transfer test bench - bluewww - 06-29-2020

You can look at the register map here of the udma
https://github.com/pulp-platform/pulpissimo/blob/master/doc/datasheet/datasheet.pdf
and check the examples in the pulp-sdk
We don't have a memory to memory dma in pulpissimo though so I don't know what you are exactly trying. The udma is for copying between peripherals and (L2) memory.


RE: udma memory to memory data transfer test bench - RiscV - 06-30-2020

useful information.Thank you sir