Altera_Forum
Honored Contributor
8 years agoUsing 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?