Forum Discussion
Altera_Forum
Honored Contributor
19 years agoHow to control DMA core?
I am doing a project which need to use PCI core. Since I am not going to use the NiosII, so DMA become my option. My question is: how can I control the DMA to read the data from PCI and write i...
Altera_Forum
Honored Contributor
19 years ago<div class='quotetop'>QUOTE </div>
--- Quote Start --- First, how do you plan to control the DMA engine? From the PCI bus?[/b] --- Quote End --- Can I control the DMA in both way? Either from the PCI bus or from an user ip core in the inside of the FPGA? What do I need to do? In either way, how can I set the source/destination address and the interrupt to the DMA? If I want to control the DMA from inside, I shoul connect the User IP core to the DMA's "control slave port", is that right? <div class='quotetop'>QUOTE </div> --- Quote Start --- Second, I gather you want the board to master both PCI reads and Memory writes or are you just trying to access memory from the PCI bus?[/b] --- Quote End --- Yes I want to set the PCI as a master device, so is the memory controller. Thanks for your reply, Mike.