为什么p_sequencer不指定具体的sequencer也可以调用sequence
时间:10-02
整理:3721RD
点击:
- class base_vseqr extends ovm_virtual_sequencer;
- X_seqr X_seqr_h;
- Y_seqr Y_seqr_h;
- `ovm_sequencer_utils(base_vseqr)
- .....
- endclass
- class A_seq extends ovm_sequence;
- B_seq B_seq_h;
- `ovm_create_on(B_seq_h, p_sequencer);
- B_seq_h.start(p_sequencer);
- endclass
这样的话,没有指定p_sequencer具体的sequencer,如何调度B_seq_h呢?
------>>>> `ovm_sequencer_utils(base_vseqr)