Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12745 Discussions

How to write an Avalon master?

Altera_Forum
Honored Contributor II
1,212 Views

Hello, 

 

Has anybody some good information about writing an Avalon master? I need a component which has one master read port and one slave port (for configuration). I searched a lot of documents for writing a master but without success. An example would be great! 

 

 

Thank you in advance, 

niosIIuser
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
494 Views

Hi niosIIuser, 

 

I posted a test peripheral I made for someone on this subject in the downloads area: 

http://www.niosforum.com/forum/index.php?a...t=st&f=15&t=508 (http://www.niosforum.com/forum/index.php?act=st&f=15&t=508

 

Have fun!
0 Kudos
Altera_Forum
Honored Contributor II
494 Views

Hello Jesse, 

 

Many thanks for your help. That was nearly exactly what I was looking for. I think it will not be too hard to port your code into VHDL (is there any translator?) and replace the write master with a read master. 

 

Thanks, 

niosIIuser
0 Kudos
Reply