【uvm】How to write uvm sequence

Most important properties of a sequence are,

  • body method
  • m_sequencer handle

body Method:

body method defines, what the sequence does.

m_sequencer Handle:

The m_sequencer handle contains the reference to the sequencer on which the sequence is running.

The sequence will get executed upon calling the start of the sequence from the test.

sequence_name.start(sequencer_name);
sequencer_name specifies on which sequencer sequence has to run.

  • There are Methods, macros and pre-defined callbacks associated with uvm_sequence.
  • Users can define the methods(task or function) to pre-defined callbacks. these methods will get executed automatically upon calling the start of the sequence.
  • These methods should not be called directly by the user.
    Below block diagram shows the order in which the methods will get cal

版权声明:本文为weixin_39060517原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。