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

 找回密码
 注册

手机号码,快捷登录

手机号码,快捷登录

搜帖子
查看: 4237|回复: 5

[求助] uvm中sequence和sequencer注册咨询!!

[复制链接]
发表于 2012-10-10 23:31:33 | 显示全部楼层 |阅读模式

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

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

×
本帖最后由 s19812500 于 2012-10-10 23:38 编辑

在uvm中,一般来说,对于sequenc和sequencer有两种注册方法:

1,sequence:·uvm_object_utils(sequence)
     sequencer:·uvm_component_utils(sequencer)

2,sequence:·uvm_sequence_utils(sequence)
     sequencer:·uvm_sequencer_utils(sequencer,sequence)

这两种方法有什么区别,各有什么优点,请高手指点呢?
发表于 2012-10-12 02:54:12 | 显示全部楼层
前者应该还缺少一个sequence和sequencer的对应处理,记得是一个带后缀lib的宏。曾经在国外论坛看到说不建议用第二种方式注册序列。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-10-13 10:49:50 | 显示全部楼层




    一般来看都是第一种注册,只是在别人的一个平台中看到了这种方式,又没有找到相关的资料,就问问高手了。谢谢!
回复 支持 反对

使用道具 举报

发表于 2012-10-13 13:33:41 | 显示全部楼层
First Create a sequencer and register with sequencer utils `uvm_sequencer_utils(sequencer_name)

and now create a sequence and register that sequence with the factory and as well as the sequencer Lib
`uvm_sequence_utils(sequence_name,sequencer_name)

every sequencer by default wil have its own sequence library
when in the function new(); inside your sequencer use the macro......`uvm_update_sequence_lib_and_item
all the sequences registered with this sequencer will be updated automatically and the sequencer will know it and update internally in his sequence library
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-10-14 11:11:46 | 显示全部楼层
回复 4# shoaibsaiufuddi


    3Q!!
回复 支持 反对

使用道具 举报

发表于 2013-5-19 21:23:36 | 显示全部楼层
受教了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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


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

GMT+8, 2025-8-12 04:40 , Processed in 0.017714 second(s), 3 queries , Gzip On, Redis On.

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