Community
cancel
Showing results for 
Search instead for 
Did you mean: 
SK_VA
Beginner
291 Views

Adding system Verilog header files in qsf

Hi,

I have many vh and svh header files in the design. When I load the design in quartus 14.0 , even though I add the vh and svh files in the qsf, compilation throws error saying "can't open Verilog Design File "*.vh"

I tried adding the search_path for the folder location where I have all the header files. But that did not solve the issue.

 

Please let me know how to add header files .vh and .svh in design in quartus lite version.

 

 

0 Kudos
5 Replies
KennyT_Intel
Moderator
283 Views

Use the `include directive to include all your header files within the module body.

When synthesizing header files in the Quartus Prime software, do not add the header file to the list of files in the Quartus Prime project.

or

We can include the Verilog macro files into the file list.


SK_VA
Beginner
279 Views

Hi ,

I have added the header files in the design files with include directive in module body.

Whether I add the header files (.vh and .svh) to the list of files or not, I get the error "can't open verilog design file "*.vh"

KennyT_Intel
Moderator
264 Views

Can you attached an example files so that I can look into the error. You do not need to build the full design. Just a simple design will do.


SK_VA
Beginner
259 Views

Hi,

Thanks.

I could solve this issue by adding a search path for the directory containing the header files in the qsf.

KennyT_Intel
Moderator
242 Views

It's good to hear that


Reply