- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:- The triggering can be done via a Avalon Streaming Interface (Avalon-ST). (Figure 1 in attachment)
- The triggering of the component 2 can be done via a IRQ from component 1 to the NIOS. The NIOS can set the component then via the Avalon-MM. (Illustrated in figure 2 of the attachment)
- Which of my ideas would be faster and or more adequate for my application.
- Are there any online courser, tutorials (like the one from the university program) or papers available which describe
- Are there smarter possibilities? (I'm quite sure :-))
- Tags:
- qsys
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page