"end_of_elaboration":- Used to make any final adjustments to the structure, configuration or connectivity of the testbench before simulation starts

Can any one give me an example for the above, meaning how end_of_elaboration_phase can be used to make a final adjustment to the structure, configuration or connectivity of the testbench before simulation starts.

In reply to Sriram Yalavatti:

After the connect_phase the testbench structure is stable and cannot be modified. But you can do some other thinks like displaying the topology etc. See here an example:

function void end_of_elaboration_phase(uvm_phase phase);
  super.end_of_elaboration_phase(phase);
  `uvm_info(get_type_name(), $psprintf("Verbosity level is set to: %d", get_report_verbosity_level()), UVM_MEDIUM)
  uvm_top.print_topology();
  `uvm_info(get_type_name(), "Print all Factory overrides", UVM_HIGH)
  factory.print();
  uvm_top.set_report_id_action_hier("ILLEGALNAME", UVM_NO_ACTION);
endfunction : end_of_elaboration_phase

In reply to chr_sue:

Hello chr_sue,

After the connect_phase if the testbench structure is stable and cannot be modified; then could you please explain me what is the meaning of “final adjustments to the structure, configuration or connectivity of the testbench before simulation starts”.

In reply to Sriram Yalavatti:

Who gave you this statement?
You can pass configuration data which are relevant for the execution, like has_coverage etc.
But you cannot reconfure your testbench there.

In reply to chr_sue:
Hello chr_sue,

Kindly go through the latest “UVM Cookbook” and refer page number “phasing-12” and the same statement is given in the Cookbook as i mentioned about end_of_elaboration_phase in my query.

Regards,
Sriram Y.

In reply to Sriram Yalavatti:

I see …
Not clear to me what does it mean.
A final adjustment could be setting the UVM Verbosity or actions depending on the verbosity. But this is a bad place, because if you want to chenge it you have to recompile the whole code.

In reply to chr_sue:

In reply to Sriram Yalavatti:
I see …
Not clear to me what does it mean.
A final adjustment could be setting the UVM Verbosity or actions depending on the verbosity. But this is a bad place, because if you want to chenge it you have to recompile the whole code.

Yes of-course as you told recompilation is required, even i am not clear with that point, so only i raised a query and i am waiting for proper answer with some industrial application for end_of_elaboration phase.

Regards,
Sriram Y.