If anyone want to convert OVM TB to UVM TB please do the following;
-> If the OVM code is in the directory name "env" then apply the following command;
perl $UVM_HOME/bin/ovm2uvm.pl -top_dir /../../../env -all -write
-> After applying; all the O's will turned to U's and also the macros and tlm ports and fifos will turned to equivalent uvm syntax.
Manually we have to do the following;
-> we have to change all the connect,build,run tasks or functions to uvm equivalent phases.
-> Replace the set_config_object and get_config_object with uvm_config_db set and get methods.
->Replace global_stop_request with phase.raise and drop objections.
I hope the above things will helpful to viewers.