I am looking for a tutorial that teaches you how to design components that uses the Avalon-MM interface. I am planning to use it in QSYS. There are two components I need to interface currently with Avalon-MM. One is a CPU similar to Nios-2, and the other is a VGA controller that uses DMA to access the SDRAM to retrieve the RGB values for each pixel.
I will look into the memory tester example. I didn't pay too close attention to it so I guess there may be some code that lets me see the interfacing happen.
EDIT: The memory tester example is in verilog and uses C code so I can't use that as an example.