|
发表于 2014-1-26 15:54:05
|
显示全部楼层
try了一下,"sps_tr_hooks.sv"里面的系统函数报错。。。
handle = $sps_begin_transaction(stream, nm);
|
ncsim: *E,MSSYSTF (/home/x900080-p0080/auto_ovm_logging_with_IUS/my_ovm-2.1.1/src/base/sps_tr_hooks.sv,272|40): User Defined system task or function registered during elaboration and used within the simulation has not been registered during simulation.
$sps_end_transaction(handle);
各位有没有遇到这样的情况?
另外,通过下面的方式去include"sps_tr_hooks.sv",会修改ovm library,有没有其它的方式呢?
package ovm_pkg;
`include "sps_tr_hooks.sv"
`include "ovm.sv"
endpackage |
|