Forum Discussion
Altera_Forum
Honored Contributor
14 years agoStart with IORD/IOWR. They are fine for nearly all purposes.
Later you can add an abstraction layer if you like, but everything is managed with the same io functions at low level. Regarding the address, you must distinguish: base address: this is arbitrarily defined in sopc builder/Qsys address span: the range of addresses your component is supposed to respond to, from base to base+span register addresses: these are actual memory locations made available in your component; from offset 0 to offset address_span-1. The external bus must add the base address to the offset to access the component memory.