- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I was not able to find in a couple of searches an answer to my question, so here I start a new thread: I need to make Qsys export an Avalon-MM Master for configuring my hand-coded components. As there is no such option available in Qsys, I thought of a trick: * new component with one Avalon-MM slave and one master (see the _tcl.txt attachment) * the vhdl unit instantiated by this component would simply wire slave ifc signals with master ifc signals * the slave interface connected to the nios * the master interface exported For some reason this is not working... I mean I see no activity on this interface, although it was generated without errors. are there better ways to export a master interface to the module ports? thanks!Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why not just use a pipeline bridge and export the master interface for it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I didn't think of that... works Ok, thanks for the hint.
Is this the right way to do it?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you don't want anything fancy then I would say yes it's the right way. If you needed to adapt it over to some other standard then the approach you were attempting previous is how I typically do that.
Just as a FYI by default the address bits that will be exported by the master of the bridge will be byte addresses. If you want word addresses switch the bridge parameter to 'WORDS' or just remember to shift the address bits accordingly. If the thing outside of Qsys has a lot of latency make sure to set the max pending reads of the bridge to accomidate for this. For example if the maximum external read latency is 16 I would use a maximum pending reads of 16 or larger on the bridge.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for the hint! works as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Why not just use a pipeline bridge and export the master interface for it? --- Quote End --- Hi, I have the same need. I simply exported the master interface, then got this error from eclipse while downloading the software: No Nios II target connection paths were located. Check connections and that a Nios II .sof is downloaded. Here is my thread: http://www.alteraforum.com/forum/showthread.php?t=48522 Could you please tell me the right way to export the master interface or the reason why I got the error?
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