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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 3416|回复: 5

[求助] 关于VMM中vmm_channel的问题?

[复制链接]
发表于 2012-5-2 22:37:27 | 显示全部楼层 |阅读模式

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

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

x
哪位高人能够解释一下vmm_channel中的active slot到底是个什么东东?有点不明白啊!先拜谢了!!!
 楼主| 发表于 2012-5-2 22:38:37 | 显示全部楼层
自己先顶一下!
发表于 2012-5-5 18:08:26 | 显示全部楼层
用在producer/customer模型中,否则,只需要使用get或peek就可以了。
具体看源代码吧。
发表于 2012-7-27 11:35:51 | 显示全部楼层
An important feature of channels is the active slot. The active slot keeps track of
the currently active transaction, allowing transactors to fill a channel without
retaining references to each transaction. The functions activate(), start(),
complete(), and remove() modify the active slot status so a consumer can
update the transaction status as it is processed. Typically, a channel consumer
should use the active slot and a producer should use put() followed by a
wait_for(ENDED) indication.

看看golden reference中和vmm_channel有关的内容就清楚了。
发表于 2012-8-10 22:49:09 | 显示全部楼层
何必讲的那么抽象呢?其实是SV里面的mailbox的替代物,相较mailbox提供了更多的方法
发表于 2012-11-25 23:06:56 | 显示全部楼层
回复 5# seabeam


   他说的是slot吧。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

×

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

GMT+8, 2024-9-21 18:53 , Processed in 0.022528 second(s), 10 queries , Gzip On, Redis On.

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