- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks.
I could solve this issue by adding a search path for the directory containing the header files in the qsf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's good to hear that

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page