Forum Discussion

6 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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?