|
发表于 2014-9-22 17:01:38
|
显示全部楼层
class uvm_seq_item_pull_port #(type REQ=int, type RSP=REQ)
extends uvm_port_base #(uvm_sqr_if_base #(REQ, RSP));
`UVM_SEQ_PORT(`UVM_SEQ_ITEM_PULL_MASK, "uvm_seq_item_pull_port")
`UVM_SEQ_ITEM_PULL_IMP(this.m_if, REQ, RSP, t, t)
bit print_enabled;
endclass
中的宏UVM_SEQ_ITEM_PULL_IMP里面定义了task get_next_item
我没有继续追,再继续应该是通过sequencer的export获取sequence_item,因为driver的port已经connect到sequencer的export了。 |
|