Forum Discussion
Altera_Forum
Honored Contributor
13 years agoOf course you would have to modify the logic source and create a new module.
If you want to access that module both from the Nios II CPU and from a DMA controller, things get complicated. That complexity is now handled by the Qsys fabric that 'separates' the two masters accessing the same slave. If you hack the SPI source into an output-only SPI with waitrequest you should be able to connect both the CPU and the DMA controller, but you will have to re-write the software driver as well.