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

Project Navigator - Is there a way to add multiple files to a project all at one time?


I would like to add multiple HDL files to my project at once. 

Is there a convenient way to add a list of files?


From Project Navigator, Using the "Add Source" or "Add Copy of Source" processes, you can select multiple files within a directory by holding down the CTRL or SHIFT key and clicking on the desired files.

To add multiple files in different directories at the same time, you can use a Tcl script.

Example 1:

set flist {file1.vhd file2.vhd...}
foreach item $flist {
xfile add $item

Example 2:
Add all the files in a directory with *.

xfile add *.vhd

AR# 41791
Date Created 01/26/2012
Last Updated 03/02/2015
Status Active
Type General Article
  • ISE Design Suite