Forum Discussion
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- What value is MAP_PIO_SIZE? --- Quote End --- Also, in reply to this one-- I updated all my memory mappings and sizes recently. I wouldn't call it MAP_PIO_SIZE, but instead LW_REGS_SIZE, which is 2 MB. Check out page 1-19 and 7-6 of the HPS Technical Reference Manual. The LW FPGA devices run from 0xFF200000 to 0xFF400000, or 0x200000. This gets mapped to virtual memory in Linux, and there is also the fast bridge which runs from 0xC0000000 and is 960 MB, or to 0xFC000000 (0x3C000000 size). The graphic on 7-6 saved me a lot of time.