Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16597 Discussions

QSYS use relative IP Search Path

Altera_Forum
Honored Contributor II
2,321 Views

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?

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
1,075 Views

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).
0 Kudos
Reply