Hello together,I try to build up a QSYS-System in which a custom component (e.g. custom GPIO) can trigger a second custom component (e.g. custom Timer). Till now I figured out two possibilities:
Nios does not include a vectored interrupt controller, so I would guess that your first idea would be more efficient.Maybe a better idea would be to simply combine the two custom components together into one. Avalon streaming is efficient, but if you're just using it to send a control signal, then combining the two together might be better.
Thank you for your reply.The step with combining the two components is a good idea, but I try to make as much generic components as possible. Are there any papers, white-papers, tuotorials, hands-on or something similar regarding to the Avalon streaming which you can prefer?
If you are constructing your own custom GPIO and Timer modules, then you can also customize their interfaces to include Avalon Interrupt Sender/Receiver and have the modules connected directly when you construct the system in Qsys. There is no need to have NIOS [and software] involved in the triggering you are describing.Also, you can use "Conduits" to make more flexible/complicated connections, in case what you're trying to accomplish can't be done with interrupts.
ted, thank you for the reply!I need the NIOS [and software] for other tasks but i like the idea with the "Conduits". I think that could be the easiest way for me, especially because I still have no idea how to manage that with the Avalon-ST.... Thank you for that!