Altera_Forum
Honored Contributor
14 years agoHow to test the Avalon MM interface in C?
Hello,
I have written a program in VHDL which is compatible with the Avalon MM slave interface and i have generated it in SOPC-builder. I would like to write a small test program in C to see if it works as it should but I don't know how to communicate with it (how to write and read from it). Should I use IOWR and IORD in some kind of way or do someone have a better suggestion? I am kind of new with this so I would really appreciate an answer.