Forum Discussion

gyuunyuu's avatar
gyuunyuu
Icon for Contributor rankContributor
4 years ago

Why do we need ipx file when we can specify IP search path in settings?

The purpose of ipx file is to specify IP search paths inside a file. However, it is already possible to specify IP search paths in Quartus. Qsys(Tools > Options) or in Quartus software (Tools > Options > IP Catalog Search Locations). What is the purpose of ipx file in this case?

Also, how is path to ipx file specified? The ipx file specifies relative paths rather than absolute paths. This make the ipx file quite useless actually.

6 Replies

  • sstrell's avatar
    sstrell
    Icon for Super Contributor rankSuper Contributor

    I don't use it much, but a single .ipx can be used to point to many IP. That way you don't have to add paths to each individual IP in the tool. You just point to the .ipx file. The IP built into Quartus and Platform Designer uses .ipx files in this way. If you have a library of your own custom IP, you can make a single .ipx, updating it as needed, and point to just that one file in all your projects.

    • gyuunyuu's avatar
      gyuunyuu
      Icon for Contributor rankContributor

      I have a situation like this. There are two repositories. Each repository contains a third repository which is shared across the two. This is because files in the third repository are used across both the repositories.

      Now if I create an IPX file, does it have to be one IPX file for all three repositories or an IPX file per repository?

      There is also the problem in that the way the IP search paths are specified in Qsys, they are always looking into the first repository submodule. This creates trouble when I want to run simulation tests from the simulation directory of the submodule of the second repository.

      I think the IPX files can help in some way but don't know how many to create and how to tell Qsys to use them.

      • RichardT_altera's avatar
        RichardT_altera
        Icon for Super Contributor rankSuper Contributor

        The IP Index File (.ipx) automatically searches and identifies IP components in the IP search path. So if the file path and name is correctly indicated then I believe one IPX file should be good enough to find all the IP components.

        Based on the User Guide, you may define IP search locations as below to finds the IP components and index files in any subdirectory of the /ip subdirectory of the Intel Quartus Prime project directory.

        PROJECT_DIR/ip/**/* 
        
        
  • Since I have provided the solution, I will now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.

    Best Regards,
    Richard Tan

    p/s: If any answer from the community or Intel support are helpful, please feel free to give Kudos.