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

How to manage Verilog include files in Quartus?

ldm_as
Novice
7,339 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
6,912 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

0 Kudos
5 Replies
AnandRaj_S_Intel
Employee
6,912 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-and-small-modules-without-having-to-use-include-in-every-file

 

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

 

Regards

Anand

0 Kudos
ldm_as
Novice
6,912 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?

0 Kudos
AnandRaj_S_Intel
Employee
6,912 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

 

0 Kudos
ldm_as
Novice
6,912 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?

0 Kudos
AnandRaj_S_Intel
Employee
6,913 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

0 Kudos
Reply