Forum Discussion

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

Using relative include path with NativeLink?

Hello all!

I've setup a Quartus Project (using Modelsim-AE) and moved all include files to a subfolder "./inc".

That means my *.vh file with defines have all been moved.

I also added a relative include path using this command:

set_global_assignment -name search_path ./inc

This works fine and quartus can compile the project. However my problem now

is: When starting a RTL simulation (via NativeLink button) Modelsim doesn't find the include files:

# vlog -reportprogress 300 -vlog01compat -work work "+incdir+D:/_Proj/Vlog82" D:/_Proj/Vlog82/Decoder_logic.v # ** Error: D:/_Proj/Vlog82/Decoder_logic.v(4): Cannot open `include file "D:/_Proj/Vlog82/Decode_rom.vh".# ** Error: D:/_Proj/Vlog82/Decoder_logic.v(5): Cannot open `include file "D:/_Proj/Vlog82/Status_reg.vh".

Is there any option in QuartusII to setup NativeLink such that ModelSim finds the inc files

at their new location?

1 Reply

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

    I'm still searching for a solution to this. Is there anybody out there who can help?