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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 1123|回复: 3

[原创] sequencer和virtual sequencer的作用

[复制链接]
发表于 2022-9-11 15:45:37 | 显示全部楼层 |阅读模式

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

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

x
在UVM环境中,一直对sequencer和virtual sequencer的作用没搞明白:
1. driver需要通过sequencer来获取sequence产生的数据,那为什么driver不能直接调sequence呢?我看到平台的sequencer基本都没写多少实际内容,到底有什么必要性?
2. 当有多个sequencer时,需要用到virtual sequencer做路由,这个路由的原理是怎么实现的,virtual的意义在哪里?
希望大佬帮我解答一些,谢谢
发表于 2022-9-11 18:39:38 | 显示全部楼层
1. Sequence is just a list of transactions (each one is sort of scenario). You can have lots of different sequences, that is lots of scenarios. Sequencer and driver are about TLM (Transaction-level modeling). They use handshake mechanism (Request, Response) to communicate and be synchronized. Someone should support this mechanism, so they are sequencer and driver. The driver can non directly communicate with a sequence class because it does not have Request-Response mechanism.
2. Virtual means no real transaction scenario it have. But it holds other sequences (scenarios) which definitely comprise the scenarios. You can do synchronization between sequences by means of “wait for some action” which goes from the next sequence.
发表于 2022-9-11 18:46:22 | 显示全部楼层
Check this DVCON paper: "What Does the Sequence Say Powering Productivity with Polymorphism"

What_Does_the_Sequence_Say_Powering_Productivity_with_Polymorphism.pdf

970.61 KB, 下载次数: 15 , 下载积分: 资产 -2 信元, 下载支出 2 信元

发表于 2022-9-13 15:17:29 | 显示全部楼层
virtual sequencer或者叫做top sequencer, 其实只是一个容器,把各个physical sequencer或者子virtual sequencer包在一起。

好处是sequencer多的时候不用一个一个传了,而且这个sequencer毕竟是uvm_component,还能用来向seq传递一些TB的资源
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-5-2 19:43 , Processed in 0.020131 second(s), 7 queries , Gzip On, Redis On.

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