Forum Discussion
Altera_Forum
Honored Contributor
11 years agoAccessing specific memory in DMA
I am trying to interface fpga and yocto in DE2i-150 board using device driver. From software side I am using DMA for memory allocation. I have 3 input data. Two of them are 416 bit long and one is 32...
Altera_Forum
Honored Contributor
11 years agoUntil you get the hang of things, leave DMA out of it. Just use alt_up_pci_write() to send your inputs, and alt_up_pci_read() to retrieve your module outputs. Then after you get it working, build up to using the DMA.
Yes, you need to know your offsets within your module. It will depend on how you implemented your address decoding within your module that you wrote.