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

13.1 PlanAhead - Designs using "Global Include" files unable to be properly compiled using "Auto-Top" functionality


The design uses an 'include file that is required by several sources, but not explicitly included by all of them (i.e. a global include file).

The order of compile is critical, and this include file must be compiled before the other files that require it (due to parameters being used in those source files that are defined in the include file).

When I add all the source files to the project including the "global" include file, and then use the "Specify Top Module" function, there is not a single top listed.

In addition, there are a series of parser errors output to the terminal due to undefined parameters in the source files.


PlanAhead tool 13.1 does not have a global include option and the 'include needs to be explicitly entered in each file that requires the use of the include file.

In PlanAhead tool 13.2 a Verilog file can be specified as the Global Include in the "Source File Properties" of the Verilog Source or by using the Tcl command below:

set_property is_global_include true <my_file>.v
AR# 42714
Date Created 07/11/2011
Last Updated 02/26/2015
Status Active
Type General Article
  • PlanAhead - 13.1