验证平台跑case时遇到这个问题是怎么回事
the object at dereference depth 0 is being used before it was constructed allocated.
please make sure that the object is allocated before using it.
遇到这种类型的错误一般是因为类实例化的句柄没有new就直接对类里的成员开始调用了。
例如
class test_name
int a;
endclass
initial begin
test_name yue;
yue.a=3;//wrong
end
如上例,yue没有new就直接对yue.a进行赋值,仿真运行到这一行就会报上面的错误。
检查引脚或者信号连接的完整性