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

Add new global IP Search Directory Path w/o GUI

Please
Beginner
1,399 Views

Hello,

 

I am trying to add a new Global IP Search Directory without opening the settings in the quartus interface. I would imagine the easiest way to do this would be to either alter some source file for the project or some command in the tcl console, but I am not sure how to go about either of those.

 

I have tried to use 'set_global_assignment -name IP_SEARCH_PATHS <path>' but this adds a project specific path instead of a global one. 

 

Any help with this would be greatly appreciated.

 

Thank you in advance!

0 Kudos
9 Replies
sstrell
Honored Contributor III
1,376 Views

Create one in the GUI and see what gets written to the .qsf file.  Then you'll know what the formatting is.  It's obviously documented somewhere (built-in help) but doing this might be faster.

0 Kudos
Please
Beginner
1,368 Views

I will try this, but if I remember correctly, I tried this previously and when I tried to export the assignment to generate the .qsf file, it said the design has to be analyzed before it can be exported. Is there a way around this or will I have to let the entire project compile before I can view the updated .qsf file?

0 Kudos
sstrell
Honored Contributor III
1,364 Views

You don't need to generate a separate .qsf.  Just do File -> Save Project after adjusting the setting and open the .qsf file.  There's always a .qsf file.  You don't need to separately create it.  All assignments and settings are stored in this file whether the design has been compiled yet or not.

0 Kudos
Please
Beginner
1,347 Views

I tried this but nothing changes in the .qsf file when adding or removing a global search directory. I could be mistaken but my thought is that the .qsf file is specific to that project while the global ip search directory should be included regardless of which project is open. Am I understanding the functionality of the global directory correctly?

 

Is there anything else I could try?

0 Kudos
sstrell
Honored Contributor III
1,345 Views

No it would go back to the defaults file (.qdf) for Quartus itself as mentioned.

0 Kudos
Please
Beginner
1,349 Views

I tried this but nothing changes in the .qsf file when adding or removing a global search directory. I could be mistaken but my thought is that the .qsf file is specific to that project while the global ip search directory should be included regardless of which project is open. Am I understanding the functionality of the global directory correctly?

 

Is there anything else I could try?

0 Kudos
sstrell
Honored Contributor III
1,348 Views

For global paths, it might be stored in the .qdf file (defaults file) where Quartus is installed.  That would make sense since you're trying to set something globally for all projects.

0 Kudos
RichardTanSY_Altera
1,007 Views

Is there any specific reason why you want to achieve this without using the GUI? My guess is you want to run it using a script.


Unfortunately, this is not possible as it might involve altering the code running behind the Quartus tool itself.

Users are not recommended to do this as it bears the risk of compromising the tool's functionality.


An alternative would be to write a TCL script and add [set_global_assignment -name IP_SEARCH_PATHS ""] and source it.

Since you plan to run the script, it will always search for the IP path.


Regards,

Richard Tan


0 Kudos
RichardTanSY_Altera
920 Views

We noticed that we haven't received a response from you regarding the latest previous question/reply/answer, and will now transitioning your inquiry to our community support. We apologize for any inconvenience this may cause and we appreciate your understanding.

 

If you have any further questions or concerns, please don't hesitate to reach out. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support.

 

The community users will be able to help you on your follow-up questions.

 

Thank you for reaching out to us!

 

Best Regards,

Richard Tan


0 Kudos
Reply