当使用vivado编译时,如果是从其他地方拷贝过来,并且是更换了器件类型的,那么可能ip核会出现错误,编译不成功。错误提示如下:
File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/ltlib_v1_0_0_ver.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/ltlib_v1_0_0_lib_fn.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/ltlib_v1_0_vl_rfs.v'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/xsdbs_v1_0_2_i2x.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/xsdbs_v1_0_2_in.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/xsdbs_v1_0_vl_rfs.v'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/blk_mem_gen_v8_3_vhsyn_rfs.vhd'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/fifo_generator_v13_1_vhsyn_rfs.vhd'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/xsdbm_v3_0_0_i2x.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/xsdbm_v3_0_0_in.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/xsdbm_v3_0_0_icn.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/xsdbm_v3_0_0_bs.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/xsdbm_v3_0_0_bs_ext.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/xsdbm_v3_0_0_bs_core.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/xsdbm_v3_0_0_bs_core_ext.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/xsdbm_v3_0_0_bs_ports.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/xsdbm_v3_0_0_bsid_ports.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/xsdbm_v3_0_0_bsid_vec_ports.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/xsdbm_v3_0_0_bs_vec.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/xsdbm_v3_0_0_bs_core_vec.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/xsdbm_v3_0_0_sl_prt_map.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/xsdbm_v3_0_0_id_map.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/xsdbm_v3_0_0_id_vec_map.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/xsdbm_v3_0_vl_rfs.v'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/ila_v6_2_8_ila_ver.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/ila_v6_2_syn_rfs.v'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/ila_v6_2_8_ila_in.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/ila_v6_2_8_ila_param.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/ila_v6_2_8_ila_lparam.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/verilog/ila_v6_2_8_ila_lib_fn.vh'
ERROR: [Runs 36-287] File does not exist or is not accessible:'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/synth/ila_0.v'
INFO: Launching helper process for spawning children vivado processes
INFO: Helper process launched with PID 16252
ERROR: [Synth 8-1769] cannot open verilog file c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/ltlib_v1_0_vl_rfs.v
Failed to read verilog 'c:/Users/Administrator/Desktop/FX2_Stream_IN/FX2_Stream_IN.srcs/sources_1/ip/ila_0/hdl/ltlib_v1_0_vl_rfs.v'
INFO: [Common 17-83] Releasing license: Synthesis
3 Infos, 2 Warnings, 0 Critical Warnings and 33 Errors encountered.
synth_design failed
ERROR: [Common 17-69] Command failed: Synthesis failed - please see the console or run log file for details
解决方法如下:可以看一下自己的ip核,是不是有一个红色的锁:
右击ip核,点击report ip status
可以看到upgrade selscted是高亮的,然后选择锁住的ip核,点击upgrade ,然后一直点击ok就可以了,ip核就会解锁了。
重新编译即可