Altera_Forum
Honored Contributor
10 years agoavalon memory mapped slave
hi. just a quick backgrund for the task at hand. i have a nios II system that writes/reads to onchip-memory and a custom-vhdl block using IOWR/IORD. I can write/read data to/from the vhdl block from my c-code running on NIOS. I would like to create a ring-buffer(log) in the onchip memory(storing 500bytes) so i add it tot the buffer from my vhdl code. One byte per 5MHz clk, and read all of the log from my nios c-code.
I'm unsure what would be the proper way to do this? and what avalon interface to use. Any advice would be appreciated. /stefan