Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15336 Discussions

Using relative include path with NativeLink?

Altera_Forum
Honored Contributor II
857 Views

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?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
112 Views

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

Reply