vivado2018.2版本带PS侧配置(bd)调用modelsim仿真时:(vlog-13006) Could not find the package (sc_util_v1_0_3_pkg)

        使用vivado2018.2版本调用modelsim仿真,其中工程的仿真为系统级仿真,PL侧包含整个系统工程的所有逻辑代码以及对PS侧的system配置(bd)。在配置好仿真环境以后,通过vivado调用modelsim时,出现了以下报错:

        # ** Error: ../../../../ZC702.srcs/sources_1/bd/system/ipshared/03a9/hdl/axi_protocol_checker_v2_0_vl_rfs.sv(5554): (vlog-13006) Could not find the package (sc_util_v1_0_3_pkg).  Design read will continue, but expect a cascade of errors after this failure.  Furthermore if you experience a vopt-7 error immediately before this error then please check the package names or the library search paths on the command line.
# -- Skipping module axi_protocol_checker_v2_0_3_top
# End time: 09:53:31 on Jul 28,2021, Elapsed time: 0:00:00
# Errors: 1, Warnings: 1
# child process exited abnormally
# Error in macro ./BASEBAND_tb_compile.do line 103

…………

# ** Error: ../../../../ZC702.srcs/sources_1/bd/system/ipshared/03a9/hdl/axi_protocol_checker_v2_0_vl_rfs.sv(5554): (vlog-13006) Could not find the package (sc_util_v1_0_3_pkg).  Design read will continue, but expect a cascade of errors after this failure.  Furthermore if you experience a vopt-7 error immediately before this error then please check the package names or the library search paths on the command line.
# -- Skipping module axi_protocol_checker_v2_0_3_top
# End time: 09:53:31 on Jul 28,2021, Elapsed time: 0:00:00
# Errors: 1, Warnings: 1

        报错显示在axi_protocol_checker_v2_0_vl_rfs.sv中没有找到sc_util_v1_0_3_pkg这个package,这个问题可能和vivado版本有关(vivado2018.2在这个问题上可能有bug),在升级版本后得到了解决。通过将整个工程升级到2018.3版本后,没有了以上报错,可以顺利调用modelsim仿真。

        参考:https://forums.xilinx.com/t5/AXI-Infrastructure-Archive/sc-util-v1-0-3-pkg-is-not-declared/td-p/962368

        注:在使用vivado调用modelsim时,可以随时查看Tcl Console窗口中的信息,根据提示的信息做针对性的修改。

       vivado2018.2版本带PS侧配置(bd)调用modelsim仿真时:(vlog-13006) Could not find the package (sc_util_v1_0_3_pkg)_第1张图片

你可能感兴趣的:(FPGA开发,软件技巧解决方案,vivado2018.2,调用modelsim,sc_util_v1_0_3_,vlog-13006)