Quantcast
Channel: Altera Forums
Viewing all articles
Browse latest Browse all 19390

Avalon MM slave register mapping in VHDL

$
0
0
Hi,

I am a little bit confused on how the avalon memory mapping works. I hope someone can clarify this for me.

I created a mm slave in VHDL. Which seems to work fine when accessed from the NIOS. At least for one register. But I don't understand how the addressing works if I use more registers. I thought that it is kind of like writing in the ram from the NIOS and the VHDL component then can read that ram? But if that were the case then there should me some kind of mapping that maps my VHDL variables to a specific ram address? I couldn't find something like that.

Or does it work more like a real bus? A have an address line and a data line and then have to check the address and put the data manually in a VHDL variable? But where is the memory mapping here?

As I said I am confused. Maybe someone can point me in the right direction.

Best Regards

Viewing all articles
Browse latest Browse all 19390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>