UVM——部分继承组件源码
文章目录
这些组件源码,除了uvm_driver、uvm_agent、uvm_subscriber中增补定义了部分变量,以提高代码的可重用性之外,其余组件源码的内容基本一致,不存在太大变化。
1.uvm_driver
uvm_driver中实例化了seq_item_port端口
;
2.uvm_monitor
3.uvm_agent
uvm_agent中定义了is_active变量
,默认值为UVM_ACTIVE;
4.uvm_scoreboard
5.uvm_subscriber(coverage)
uvm_subscriber中定义了uvm_analysis_imp类型端口,名为analysis_export
,并且进过实例化。