Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15461 Discussions

How to manage Verilog include files in Quartus?

ldm_as
Novice
2,660 Views

Hi All,

 

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?

 

Thank you!

 

0 Kudos
1 Solution
AnandRaj_S_Intel
Employee
2,233 Views

Hi Dmitry,

 

  1. USER_IP_SEARCH_PATHS =<Directory >. Example->USER_IP_SEARCH_PATHS = c:\users\anandr1x\desktop\testmw;
  2. How to manage files-> Has been addresed in your anotherpost.

https://forums.intel.com/s/question/0D50P00004Voq2s

 

Regards

Anand

View solution in original post

5 Replies
AnandRaj_S_Intel
Employee
2,233 Views

Hi Dmitry,

 

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.

or

We can include the Verilog macro files into the file list.

please check the similar thread.

https://forums.intel.com/s/question/0D50P00004MgL0PSAV/is-there-a-way-to-include-file-with-macros-an...

 

Let me know if this has helped resolve the issue you are facing or if you need any further assistance.

 

Regards

Anand

ldm_as
Novice
2,233 Views

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?

AnandRaj_S_Intel
Employee
2,233 Views

Hi Airspan,

 

You can include design files libraries in your project. Specify libraries for a single project, or for all Quartus II projects.

  1. The.qsf stores project library information.
  2. The quartus2.ini file stores global library information.

 

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. 

 

Regards

Anand

 

ldm_as
Novice
2,233 Views

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?

AnandRaj_S_Intel
Employee
2,234 Views

Hi Dmitry,

 

  1. USER_IP_SEARCH_PATHS =<Directory >. Example->USER_IP_SEARCH_PATHS = c:\users\anandr1x\desktop\testmw;
  2. How to manage files-> Has been addresed in your anotherpost.

https://forums.intel.com/s/question/0D50P00004Voq2s

 

Regards

Anand

Reply