How `uvm_info macro works?

Hi All,

as we know uvm_report_object class contains all the reporting method declaration. uvm_component class is inherited from uvm_report_object, so those methods are available in uvm_component decedent class but how we can access that inside uvm_seq_item/uvm_seq class?

In reply to zalak patel:

If you invoke uvm_info from a class derived from uvm_sequence_item, it uses the [uvm_report_info](https://verificationacademy.com/verification-methodology-reference/uvm/docs_1.2/html/files/seq/uvm_sequence_item-svh.html#uvm_sequence_item.Reporting_Interface) method from the associated uvm_sequencer component. If that is set to null, or if you try to invoke uvm_info from any other class not derived from uvm_report_object, it uses the top-level uvm_root component.