在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 7933|回复: 6

[求助] 请教一个仿真过程中碰到的一个error

[复制链接]
发表于 2016-11-7 19:48:18 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
#error info is below:

Error-[NOA] Null object access
/proj/library/pub/env/tb/tb_pg_seqlib.svh, 405
The object at dereference depth 1 is being used before it was
constructed/allocated.
Please make sure that the object is allocated before using it.

tb_pg_seqlib.svh, 405 is below:

         tile_o.pg_mst.ip_regs.register(pgmst_reg_name).read(status, orig_value);


想请教下error info中The object at dereference depth 1 ,depth 1是指的pg_mst未allocated吗?
发表于 2016-11-9 22:11:17 | 显示全部楼层
是不是没有new
发表于 2016-11-9 23:29:50 | 显示全部楼层
1.png Please make sure that the object is allocated before using it.
 楼主| 发表于 2016-11-10 12:14:12 | 显示全部楼层
回复 3# 小小舟

多谢回复,我是指b_pg_seqlib.svh, 405 is below:

         tile_o.pg_mst.ip_regs.register(pgmst_reg_name).read(status, orig_value);


The object at dereference depth 1 ,depth 1是指的pg_mst未allocated吗?


depth 1所指的对象是tile_o还是pgmst_reg_name?
发表于 2017-3-6 10:35:39 | 显示全部楼层
楼主你好!请问问题解决了吗?我现在也遇到这个error了,向你请教一下,谢谢!
发表于 2018-6-6 18:32:34 | 显示全部楼层
回复 5# 20130101


    遇到了同样问题,求解啊 !!!非常感谢
发表于 2018-6-13 11:02:44 | 显示全部楼层
回复 6# axinailsa

在出错地方前一行加入类似下面的代码调试就好了if(tile_o == null) begin
   $display("ERROR: tile_o not create!");
end
else if(tile_o.pg_mst==null) begin
   $display("ERROR: tile_o.pg_mst not create!");
end
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /3 下一条

×

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-4-24 07:58 , Processed in 0.024687 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表