AR# 31168: 10.1 ISE - View HDL instantiation Template results in ERROR:HDLParsers:3264 - Can't read file "<DCM module>.v(hd)"
10.1 ISE - View HDL instantiation Template results in ERROR:HDLParsers:3264 - Can't read file "<DCM module>.v(hd)"
After I generate a DCM (or other Architecture Wizard core) using the integrated CORE Generator from Project Navigator, attempting to synthesize the design or running "View HDL Instantiation Template" on the XAW source, I receive an error message similar to the following:
"ERROR:HDLParsers:3264 - Can't read file
".../...//test/clock_source2.vhd": No such file or directory
vhdtdtfi:Declaration (Module clock_source2) not found.
tdtfi(vhdl) completed with errors."
Why does this error occur?
There are two issues which have been discovered that might cause this error:
1. The most common case is due to an algorithm error in Project Navigator. When the View Instantiation Template or View HAD source processes are run, Project Navigator only attempts to open an existing file. If the HDL source or template for an Architecture Wizard (e.g., DCM, Clocking, RocketIO) core does not already exist, the process will fail and the above error message occurs.
In this case, you may work around the issue by right-clicking the View HDL Instantiation Template and clicking Rerun All.
This first problem has been fixed in the latest 10.1 Service Pack available at:
2. A minor project corruption. In some cases, the portion of the .ise file responsible for telling Project Navigator that the HDL for the DCM needs to be created was missing from the project file. NOTE: This is the same corruption that occurs in a Schematic project when the Cleanup Project process is run. See (Xilinx Answer 31304).