
image.png
- 通過繼承關(guān)系,我們可以看待uvm_sequence_item是擴展自uvm_transaction的。
- 對于usr來說,想創(chuàng)建自己的transaction一般是從uvm_sequence_item擴展來的,為什么呢?因為
1、The uvm_sequence_item provides a hook to the uvm_sequencer and the functions to build a sequence hierarchy.
2、It also provides its own reporting interface so that we can filter messages based on the verbosity setting of the sequencer, etc.
第一個方面提供hook

- 提供了sqr的hook,m_sequencer的最原始的定義之處。
- m_parent_sequence用于指定seq的層級。
另一個方面提供reporting的interface

- 當(dāng)sequence指定對應(yīng)的sequencer的時候,uvm_info就會用指定的這里定義的函數(shù)。