Forum Discussion

FabianL's avatar
FabianL
Icon for Occasional Contributor rankOccasional Contributor
9 months ago
Solved

Quartus Pro 24.1 QSYS uses absolute paths

Hello,

we have a design using hierarchical .qsys subsystems with several layers. All project files are within the same root folder. The folder structure is:

  • root
    • IP
      • several subfolders with custom IP cores
    • qsys
      • top
      • subsystem
        • common (containing multiple .qsys files)
        • subsystem 1 (containing multiple .qsys files)
        • subsystem 2 (containing multiple .qsys files)

Now I have a problem referencing the .qsys files within other .qsys files. If both .qsys file (the top and the instantiated .qsys) are in the same folder everything works fine and within the .qsys file the relative path is used as reference.

But, when the top .qsys file is in a different folder, e.g. within qsys/top and instantiates a file from qsys/subsystem/common Platform Designer always write the full absolute path in the .qsys file.

It is possible to manually change this to a relative path and opening and synthesizing the project works fine. So obviously Platform Designer is capable of handling relative paths.

But whenever a .qsys file is saved, Platform Designer replaces the relative path with the absolute path. This makes it impossible to use it in multi platform environments and or on different machines.

Is there any option or trick to force Platform Designer to use relative paths?

best regards

Fabian

  • After consulting the tool specialists:

    Currently, PD references the subsystem .qsys through relative path if and only if the subsystem .qsys lives under the parent system directory  If not, then use absolute path.
    I agree the interpretation that the subsystem .qsys has to live under parents system is weird and plan to fix this in the Quartus future release 25.3 (version stated is subject to change).
    On Windows, if the file is on a different drive, we'll continue to use absolute path.

    Based on the comments provided, it seems that the subsystem cannot be placed outside the parent system directory.

    As a workaround, please place the subsystem within the parent system directory until this is fixed in a future Quartus release.

    Regards,

    Richard Tan

16 Replies