Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,558 Views

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?

0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
312 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).
Reply