Forum Discussion
Avalon MM Master Templates
I'm trying to implement a frame buffer using DDR3 memory on a Stratix IV board. I'm using the Avalon-MM master templates which I downloaded from the Altera website(https://www.altera.com/support/support-resources/design-examples/intellectual-property/embedded/nios-ii/exm-avalon-mm.html).
I have copied these into my project folder. However, I'm unable to see any of the masters in QSYS.6 Replies
- Altera_Forum
Honored Contributor
I've not used these templates, but if you're speaking of the HDL templates I think you would normally create a new Qsys block and ask Qsys to use those HDL files in order to create the Qsys component.
Qsys will then look at the various interfaces in the HDL and build a component based on that. Alternatively, you can start in Qsys and define the block in the GUI (I/O, interface types) and have it generate a template that you build your functionality into. My advice is to go through the qsys tutorials on making new components and experiment a little bit; for me the flow can be quirky but I generally understand how it works well enough that I don't get stumped too often. The tutorials are pretty good. Lance - Altera_Forum
Honored Contributor
The templates you've downloaded are not for use with QSYS. They are for the much older SOPC builder. Look in the QSYS section of the Quartus handbook for information on how to add a custom component and use the Qsys interconnect.
- Altera_Forum
Honored Contributor
In the document "Avalon_MM_Masters_Readme.pdf" that came with the templates there is a section "Installation" which describes what you need to do. Basically, get the ip/ subdirectory so that it is the ip/ subdirectory of your current project. If your project is in a directory "foo", then if you have followed the instructions you should have a directory "foo/ip/Master_Template"
Then restart Qsys and in the left margin "Component Library" pane you should have Project->Templates->master_template component which you should be able to instantiate. - Altera_Forum
Honored Contributor
Right you are ted! I didn't know that Qsys was able to make use of the older examples. It imported for me in a test project right away.
- Altera_Forum
Honored Contributor
Thanks to all. I can see them now.
- Altera_Forum
Honored Contributor
I have just downloaded the Avalon MM master templates as mentioned in the first post, am I correct in thinking these are still valid for the newer versions of Quaruts/QSys?