Vivado的.v文件被误分类到Non-module Files中[filemgmt 20-2001] Source scanning failed
报错
所有新创建的Design Sources被分类到Non-module Files中
两条报错
1、[filemgmt 20-2001] Source scanning failed (launch error) while processing fileset “sources_1” due to unrecoverable syntax error or design hierarchy issues. Recovering last known analysis of the source files.
2、[filemgmt 20-2001] Source scanning failed (launch error) while processing fileset “sim_1” due to unrecoverable syntax error or design hierarchy issues. Recovering last known analysis of the source files.
问题出在srcscanner.exe这个程序上分两种情况
1、这个文件在Xilinx\Vivado\2023.2\bin\unwrapped\win64.o目录不存在。
解决方法,在正常的vivado里拷贝一个来,注意版本相同,要么重装vivado。
2、srcscanner.exe文件在,但没启动,双击启动会报缺少libboostfilesytem.dll文件。
解决方法:下载libboostfilesytem.dll文件,并regsvr32 来注册