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.

Example:
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
日期 01/07/2009
状态 Archive
Type 综合文章
People Also Viewed