【System Verilog and UVM基础入门15】sequence

本文档介绍了System Verilog和UVM中sequence的基础知识,包括使用start()方法和'uvm_do宏执行sequence及sequence item,强调了start_item/finish_item任务的应用。内容涵盖自定义sequence的创建步骤,如继承uvm_sequence基类,注册工厂,指定默认sequencer,并在body()任务中编写主要激励。此外,讨论了在VIP和自定义环境中如何通过多层sequence模拟协议层次,特别是将寄存器操作转换为总线item的重要性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Sequences can do operations on sequence items, or kick-off new sub-subsequences:

1.Execute using the start() method of a sequence or ‘uvm_do macros

2.Execute sequence items via start_item/finish_itemor 'uvm_do macros

'uvm_do macros will identify if the argument is a sequence or sequence_item and will call start() or start_item() accordingly. 

ln this page, we'll try to execute a sequence item using the start_item/finish_item task.In order to create a user-definedsequence :
1. Derive from uvm_sequence base class with a specified data object type

2.Register the seque

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值