How to manage Verilog include files in Quartus? I mean Verilog files, which include `define and parameters. Actually they don't need to be compiled separately. So, should they still be added as the source files to the Quartus Project? Should these file have some special attributes?
Use the `include directive to include all your header files within the module body.
When synthesizing header files in the Quartus II software, do not add the header file to the list of files in the Quartus II project.
We can include the Verilog macro files into the file list.
please check the similar thread.
Let me know if this has helped resolve the issue you are facing or if you need any further assistance.
No, this doesn't solve the problem ... How should I define the directories where Quartus should search for the `include files? Actually there are several places where they might be located. How to add these search paths to the project?
You can include design files libraries in your project. Specify libraries for a single project, or for all Quartus II projects.
Click Assignment > Settings. Click Libraries and specify the Project Library name or Global Library name.
Alternatively, you can specify project libraries with SEARCH_PATH in the .qsf, and global libraries in the quartus2.ini file.
1) What's the syntax of usage of the SEARCH_PATH?
2) How to manage files, which have the same name (module name), but different functionality and belong to the different units (sub-modules) in the same project?