Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ldm_as
Novice
1,559 Views

How to manage Verilog include files in Quartus?

Jump to solution

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
1,132 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
1,132 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
1,132 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
1,132 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
1,132 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
1,133 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

Reply