AR# 18495


7.1i XST - "ERROR:HDLCompilers:26 - Could not find include file '..\dir\file.v'"


Keywords: header, WARNING, Verilog

Urgency: Standard

General Description:
When I run the design in XST, the following error occurs:

"ERROR:HDLCompilers:26 - Could not find include file 'dir\file.v'"


There are several ways to work around this problem:

- Make sure that the include statement correctly defines the path of the file you want to include.

If your project is in directory "dir_a," located on drive C:, and your HDL files are located in directory "dir_b," a sub-folder of "dir_a," the include statement should be 'include "c:\dir_a\dir_b\file.v."

- Bring all your HDL files in the directory where your ".npl" file is located. In this case, you can just write `include "file.v."

- Another option is to use the "-vlgincdir" option. Refer to the XST User Guide on proper usage of these XST options.
AR# 18495
Date 01/07/2009
Status Archive
Type General Article
People Also Viewed