Forum Discussion
Altera_Forum
Honored Contributor
16 years agoAvalon MM Interface
Hi,
I'm using a Nios2 processor as an avalon memory mapped master. The Nios2 is connected to a avalon mm slave, which is the controller for a sram. Now I can read and write from Nios2 to the sram. Additionally I have another hardware which has to read (readonly) from the same sram. Which interface do I have to use? I can exclude reading/writing at the same time from Nios2 and the other hardware. Best Regards Mark13 Replies
- Altera_Forum
Honored Contributor
I got confused between masters and slave... Indeed in your case you must use addresses 0x0c000000 / 0x0c000004 etc...
If you put some Signaltap probes on the SRAM interface, do you see any access attempt? - Altera_Forum
Honored Contributor
thats why i use the signal name suggestion from one of those altera documents.
avm_userif1_read (thats an output) avs_userif2_read (thats an input) where avs is avalon valid slave and avm is avalon valid master the most positive effect is, that the sopc component editor automaticaly does the correct connection between your ip interface signal and the corresponding avalon signal. well 99% it works. - Altera_Forum
Honored Contributor
OK. Now it's working. It was a problem with the reset of the ip (it was reseted after toggling the reading).
Thank you all for your help. Mark