sequencer
时间:2019-12-12 14:23:02
收藏:0
阅读:93
sequencer产生transaction,而driver负责接收transaction。
class my_driver extends uvm_driver #(my_transaction);
这样定义的好处是可以直接使用uvm_driver中的某些预先定义好的成员变量,例如uvm_driver中有成员变量req,它的类型是传递给uvm_driver的参数,即my_transaction。
task my_driver::main_phase(uvm_phase phase);
phase.raise_objection(this);
phase.drop_objection(this);
endtask
m
原文:https://www.cnblogs.com/camellia3371----/p/12028224.html
评论(0)