I have been using the DMA example which is provided on:
https://digibird1.wordpress.com/playing-with-the-cyclone-v-soc-system-de0-nano-soc-kitatlas-soc/
Basically it works and and I am now moving some of the mmap stuff into a driver.
The is one thing I do not understand:
For configuring the DMA peripheral the lightweight bridge is used.
The LW brigde has offset: 0xff200000
I would expect to mmap 0xff200000 + DMA module offset for configuration.
In the example however ALT_STM_OFFS ( trace module 0xfc000000) is mmapped
after which the offset of the LW bridge and the DMA module are added.
Why is the trace module offset included here ?