UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 31168

10.1 ISE - View HDL instantiation Template results in ERROR:HDLParsers:3264 - Can't read file "<DCM module>.v(hd)"

Description


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?

Solution


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:

http://www.xilinx.com/support/download/
The first service pack containing the fix is 10.1 Service Pack 3.





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).



A patch for this issue is available at:

http://www.xilinx.com/txpatches/pub/swhelp/ise10_updates/pn_sch_10_3fix.zip
The patch is applicable to ISE 10.1 with Service Pack 3 (ISE 10.1.03) and Windows 32-bit platforms.



The "pn_sch_10_3fix.zip" file contains two files:



libDpm_TOE.dll

dpm_transExecTasks.tcl



The ".dll" file should be extracted to the "$XILINX\lib\nt" directory. The ".tcl" file should be extracted to the "$XILINX\data\projnav\scripts" directory.



Original files in the respective directories should be moved or renamed before copying the archived files to these locations.



Once the patch has been installed, a corrupted project may be restored as follows.



a: Change the device/family to a CoolRunner-II device (or any CPLD device).

b: Change the device/family back to the original part.



Changing the design family to a CPLD resets the project and recreates missing portions of the ".ise" file.
AR# 31168
Date Created 06/12/2008
Last Updated 07/26/2011
Status Archive
Type General Article