Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

QSYS use relative IP Search Path

I have some IP components located in my local directory structure. I can manually add a hard coded IP Search Path and everything works fine. I cannot figure out how to make this search path relative to my project file. Any help?

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Whoops. Nevermind, I think I found the answers:

    1) If using the QSYS GUI: create the file *.ipx in the same directory as QSYS. Use the path relative to the *.qsys file:

    <?xml version="1.0" encoding="UTF-8"?>

    <library>

    <path path="../ip_components/**/*" />

    </library>

    2) If using ip-generate, add the argument: --search-path=$qwork/../SourceCode/qsys/ip_components,$

    the $qwork path was a TCL script variable. The path is relative to where you are calling ip-generate (relative to the *.qpf in my case).