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# 36664

13.1 PlanAhead - Files with extension .dat cannot be included in the PlanAhead project


HDL files calling .dat files may not Synthesize correctly through the PlanAhead tool unless the full path is provided to the .dat file.

XST will output the following warning and error:

WARNING:Xst:2359 - "//full_path_to_PlanAhead/run_directory/filename.vhd" line ##: Failed to open file "filename.dat".
ERROR:Xst:1920 - "//full_path_to_PlanAhead/run_directory/filename.vhd" line ##: File <RomFile> is closed


In a Project Navigator project, these ".dat" files can be added to the project.

XST can then synthesize the necessary HDL file. 

However, in PlanAhead it is not possible to add these files to the PlanAhead project.

Because of this, for XST to resolve the reference, the full path must be included in the HDL file.

For example, FILENAME_OF_ROM => "/Full_Path_to_File/filename.dat"

AR# 36664
Date Created 06/02/2011
Last Updated 09/30/2014
Status Active
Type General Article
  • PlanAhead - 11.1
  • PlanAhead - 11.2
  • PlanAhead - 12.1
  • PlanAhead - 13.1