[UVM]UVM Sequence --- difference between m_sequencer and p_sequencer

                                     UVM Sequence

 

一、difference between m_sequencer and p_sequencer

1、m_sequencer,

      The m_sequencer handle contains the reference to the sequencer(default sequencer) on which the sequence is running.This is determined by,

  • the sequencer handle provided in the start method
  • the sequencer used by the parent sequence
  • the sequencer that was set using the set_sequencer method

2、p_sequencer,

       The p_sequencer is a variable, used as a handle to access the sequencer properties. p_sequencer is defined using the macro :

`uvm_declare_p_sequencer(SEQUENCER_NAME)
发布了185 篇原创文章 · 获赞 118 · 访问量 4万+

猜你喜欢

转载自blog.csdn.net/gsjthxy/article/details/105230577