|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
最近遇到一个问题。求大侠们帮助。在reference model中,添加import "DPI-C" function void pass(output bit [47:0] out,input bit [47:0] in);(pass函数在UVM.cpp中定义)
import "DPI-C" function void pass(output bit [47:0] out,input bit [47:0] in);
class hello_model extends uvm_component;
...
endclass
function hello_model::new(string name,uvm_component parent);
super.new(name,parent);
endfunction
function void hello_model::build_phase(uvm_phase phase);
......
endfunction
task hello_model::main_phase(uvm_phase phase);
.....输入vsim +UVM_TESTNAME=hello_case,提示有个warning:Warning: (vsim-3770) Failed to find user specified function 'pass' in DPI precompiled library search list "H:/software2/questasim10.1d/verilog_src/uvm-1.1d/lib/uvm_dpi.dll H:/software2/questasim10.1d/uvm-1.1c\win32\uvm_dpi.dll ".
这是怎么回事啊?thinks |
|