Vivado在Sysnthesis时出现错误:[Synth 8-729]和[Synth 8-787]该怎么解决
[Synth 8-729] Failed to open ‘c:/Users/27000/Desktop/The_third_probe_rod_design/The_Vivado_project/custom_ip/managed_ip_project/managed_ip_project.tmp/breath_led_ip_v1_0_project/breath_led_ip_v1_0_project.runs/synth_1/.Xil/Vivado-101112-DESKTOP-G25J8RR//incrSyn/1531751316/u/g//global_name.straps.rtd’: No such file or directory
[Synth 8-787] cannot access rtd files in ‘c:/Users/27000/Desktop/The_third_probe_rod_design/The_Vivado_project/custom_ip/managed_ip_project/managed_ip_project.tmp/breath_led_ip_v1_0_project/breath_led_ip_v1_0_project.runs/synth_1/.Xil/Vivado-101112-DESKTOP-G25J8RR/realtime/tmp//’, this is a FATAL ERROR! Please make sure the directory is readable and writable by the program and do not delete files from this directory while the program is running.
找到了如下的答案:
[Common 17-680] Path length exceeds 260-Byte maximum allowed by Windows: c:/Users/27000/Desktop/The_third_probe_rod_design/The_Vivado_project/custom_ip/managed_ip_project/managed_ip_project.tmp/breath_led_ip_v1_0_project/breath_led_ip_v1_0_project.gen/sources_1/ip/breath_led_ip_0_1/drivers/breath_led_ip_v1_0/src/breath_led_ip_selftest.c
Please consider using the OS subst command to shorten the path length by mapping part of the path to a virtual drive letter. See Answer Record AR52787 for more information.
Resolution: In Windows 7 or later, the mklink command can also be used to create a symbolic link and shorten the path.
翻译如下
[Common 17-680] Windows允许的路径长度超过260字节:c:/Users/27000/Desktop/The_third_probe_rod_design/The_Vivado_project/custom_ip/managed_ip_project/managed_ip_project.tmp/breath_led_ip_v1_0_project .gen/sources_1/ip/ breath_led_ip_v1_0_project/ drivers/breath_led_ip_v1_0/src/breath_led_ip_selftest.c
请考虑使用操作系统subst命令,通过将部分路径映射到虚拟盘符来缩短路径长度。详见回答记录AR52787。
解决方法:在Windows 7及以上版本中,mklink命令也可以用于创建符号链接和缩短路径。
路径太长了,Vivado访问不到了,缩短了路径各文件夹的名称,成功Sysnthesis。