Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Verilog Include paths

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

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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