Forum Discussion
Altera_Forum
Honored Contributor
15 years agoIf it is really a controller you have written yourself, then the easiest way in my opinion is to implement the avalon-bus to it. The interface is quite easy to handle if you look into some example code. Search here in the forum like: http://www.alteraforum.com/forum/showthread.php?t=19053 You can then Import the HDL-File into the SOPC Wizard, wich creates you the needed .tcl File that inherits the interface description for the sopc. I think you could write that also by hand, but have not tried as the wizard worked fine here.
There are also hints in the forum. Try to search a bit. The idea to implement own code or connect external hardware to the nios is quite wide spread and is discussed here quite often before. Perhaps search for "Avalon" to get more information about implementing the bus and go get Alteras interface description. So far from me, good luck! (Edit: perhaps I am missing your question again. Try to describe more in detail then once again.)