What is uvm_top. and in which file it is defined?

In reply to dave_59:

uvm_top is the instance of the UVM_root. uvm_root class serves as the implicit top-level and phase controller for all UVM components.
we can call the Uvm root functions by this instance name :
uvm_top.print_topology();