While using Vivado on a Windows platform, I receive the following error:
ERROR: [Common 17-143] Path length exceeds 260-Byte maximum allowed by Windows: <LongPathtoFileName>
The error is most common when generating an IP core or when archiving a project, but is not limited to these events.
Example: If I attempt to archive the Vivado project from File -> Archive Project, the following error occurs:
ERROR: [Common 17-143] Path length exceeds 260-Byte maximum allowed by Windows: <LongPathtoFileName>
ERROR: [Coretcl 2-229] (archive_project): Project save_as failed due to the previous error(s).
Some versions of Vivado will show the following:
WARNING: [Coretcl 2-232] Detected issues while importing sources. Closing temporary saved as project...
ERROR: [Coretcl 2-230] (archive_project): Received exception while importing sources. Please check for any errors reported in the Tcl Console.
The error is due to a Windows OS limitation. Windows has a 260 character limit on the maximum length for a path (http://msdn.microsoft.com/en-gb/library/windows/desktop/aa365247(v=vs.85).aspx#maxpath).
Due to this limitation, if the path length is more than 260 characters, Vivado Design Suite and its subsidiary tools might fail.
The error is most often seen when generating IP cores and archiving, due to the deep hierarchical structure of some of the IP (For example see (Xilinx Answer 51997)) and because the Archive function requires every path in a project to be accessed.
The following are possible ways to shorten the overall command and path lengths, or to avoid this issue if it arises.
Answer Number | Answer Title | Version Found | Version Resolved |
---|---|---|---|
63175 | Kintex UltraScale FPGA KCU105 Evaluation Kit - Known Issues and Release Notes Master Answer Record | N/A | N/A |
63680 | Kintex UltraScale FPGA KCU105 Evaluation Kit KUCon-TRD04 Targeted Reference Design - Release Notes and Known Issues Master Answer Record | N/A | N/A |
Answer Number | Answer Title | Version Found | Version Resolved |
---|---|---|---|
45477 | 13.3 PlanAhead - "ERROR: [PlanAhead-414] Project archive aborted" | N/A | N/A |
51997 | 2012.2 Vivado - Adding a Debug core to my Vivado design results in "ERROR: [Common 17-143] Path length exceeds 260-Byte maximum allowed by Windows" | N/A | N/A |
55803 | Vivado - "ERROR: [Project 1-161] Failed to remove the directory..." | N/A | N/A |
62603 | Virtex UltraScale FPGA VCU108 Evaluation Kit - Known Issues and Release Notes Master Answer Record | N/A | N/A |