virtual interface不能作为$fmonitor的参数么?
时间:10-02
整理:3721RD
点击:
$fmonitor(file3, "%d",vif.data_in_ana);
Error-[SV-IUOVI] Incorrect use of virtual interface
/mnt/hgfs/uvm_veri_0812/5956464uvm/uvm_evp02_tmp/driver.sv, 523
"this.vif.data_in_ana"
Incorrect use of virtual interface as argument to
$monitor/$strobe/$dumpvars/$readmemb/$readmemh.
Error-[SV-IUOVI] Incorrect use of virtual interface
/mnt/hgfs/uvm_veri_0812/5956464uvm/uvm_evp02_tmp/driver.sv, 523
"this.vif.data_in_ana"
Incorrect use of virtual interface as argument to
$monitor/$strobe/$dumpvars/$readmemb/$readmemh.
你把这个参数赋给一个local的变量 试试看?