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

Verilog Include paths

Altera_Forum
Honored Contributor II
4,053 Views

Hi All, 

I have some customer Verilog which has some included files like 

 

`include "myInclude.h" 

 

These files are not located in the same directory as the Including Verilog or in the build directory. 

 

Does Quartus have a concept of an Include Search Path? 

 

If so can anyone tell me how to set it up please.  

 

Many thanks
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
2,186 Views

I believe include files must be located coincident with the source file using the include.

0 Kudos
Altera_Forum
Honored Contributor II
2,186 Views

Many thanks. That was the conclusion I was coming to.

0 Kudos
Altera_Forum
Honored Contributor II
2,186 Views

I have found that if you add the directory to the search path it will work: 

 

set_global_assignment -name SEARCH_PATH directory_that_includes_the_include_file
0 Kudos
Reply