1.错误:
解决:在ivy_gpio_if前面加virtual
interface、virtual interface 与 config_db之间的关系?_interface和virtual interface-CSDN博客
2.错误:
解决:
3.错误:
解决:compare_data函数定义的第三个变量加上初始值
4.错误:
解决:第一个i前面加int
5.注意:transaction里的data是数组
6.错误:
两个test的seq.start(env.virt_sqr);均报错
解决:
修改为继承于uvm_sequencer
7.调试DVE时出现错误:Error-[NOA]Nul object access/env/ivy gpio env,sv,34The object at dereference depth 1 is being used before it wasconstructed/allocated,Please make sure that the object is allocated before using it.
此图第五行报错
解决:好像是由于编译波形保存缺少sim_do文件导致保存的wave_bug波形文件打不开所导致,具体原因待解决。
解决2:添加波形文件之后能自动打开wave_bug文件,错误信息发生了更新
在env的connect_phase里:
错误信息表示是item_observed_port或者是其试图连接的端口没有正确初始化。
在monitor的父类subscriber里,没有对ahb_trans_observed_imp端口进行new初始化,添加上,错误清除:
找了三天,吐血...
更新:解决bug之后又出现了此类问题,并且还有堆栈溢出的情况,有待解决。
8.错误:Error:[UGLI-018] VCS Runtime Error The simulation is finished sucessfully, This command is not acceptable Use restart' command to restart tool and execute the command again...
解决:保存的波形文件里面有错误,重新删除并保存了。