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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 2402|回复: 2

[求助] ovm中关于class tlm_transport_channel的问题

[复制链接]
发表于 2011-5-30 21:55:56 | 显示全部楼层 |阅读模式

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

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

x
class tlm_transport_channel #(type REQ=int, type RSP=REQ)  extends tlm_req_rsp_channel #(REQ, RSP);

  ovm_transport_imp #(REQ, RSP, this_type) transport_export;

  task transport (REQ request, output RSP response );
    ......
  endtask

  function bit nb_transport (REQ req, output RSP rsp );
    ......
  endtask

endclass

有单独的transport和nb_transport定义。

但是对于transport_export,这算什么意思呢,是blocking的还是non-blocking的呢?难道是OVM自己会识别该用blocking的还是non-blocking的?
发表于 2011-5-31 10:04:06 | 显示全部楼层
transport_export既可以是blocking port(调用transport(req, rsp)),又可以是non-blocking port(调用nb_transport(req, rsp))
发表于 2011-10-20 12:20:58 | 显示全部楼层
transport_export 和其他的端口相连  转发事务的 无所谓non-blocking或blocking
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

×

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

GMT+8, 2024-9-21 13:56 , Processed in 0.016598 second(s), 8 queries , Gzip On, Redis On.

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