|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
使用了分部编译,编译命令如下:
vcs +vcs+lic+wait -sverilog -l vcs_compile.log -full64 /apps/eda/installs/Synopsys/vcs/S-2021.09-SP2/etc/uvm-1.2/src/dpi/uvm_dpi.cc \
-CFLAGS -DVCS -Mupdate +vcs+flush+all -debug_access+all -debug_region+cell -kdb -lca \
-timescale=1ns/1ps -top tb +lint=TFIPC-L +notimingcheck /project/xxx/xxx/xxx/dv/harness/vo/cmodel/TPG_hw.cpp \
-CFLAGS -I/project/xxx/xxx/xxx/dv/harness/vo/cmodel/define
vlogan -full64 -sverilog +incdir+/apps/eda/installs/Synopsys/vcs/S-2021.09-SP2/etc/uvm-1.2/src \
/apps/eda/installs/Synopsys/vcs/S-2021.09-SP2/etc/uvm-1.2/src/uvm.sv +define+SVT_UVM_TECHNOLOGY \
+define+SYNOPSYS_SV +define+UVM_NO_DEPRECATED -debug_access+all -debug_region+cell \
-kdb -lca +v2k -timescale=1ns/1ps -l vcs_vlog.log -f /project/xxx/xxx/xxx/de/dev_ip/display/gmd_vo/filelist/gmd_vo_sim.f \
-f /project/xxx/xxx/xxx/dv/harness/vo/filelist/vo_tb.f +define+DATA_MODEL \
-assert svaext
说明下:TPG_hw.cpp是cmodel,这个文件里面include了一些头文件,有三个头文件,存放在上面标红的目录
仿真的时候就报了如下错误,请大佬指点下 非常感激不尽
ps:那些头文件都是 .h结尾的,有啥办法直接让vcs认识是c代码吗,如何把头文件和主文件一起放在编译命令里面编译不报错,求指导呀,再次跪谢!
Error-[DPI-DIFNF] DPI import function not found
/project/xxx/xxx/xxx/dv/harness/vo/uvc/env/./vo_reference_model.sv, 239
The definition of DPI import function/task 'TPGHwFunc' does not exist.
Please check the stated DPI import function/task is defined, and its
definition is either passed in a source file at compile-time, or provided in
a shared library specified using the LRM Annex-J options at run-time.
|
|