I down loaded the OVM-2.0 and run xbus example. I added a print info in xbus_master_driver
// run phase
virtual task run();
ovm_report_info(“get_and_driver”,“run”);
fork
get_and_drive();
reset_signals();
join
endtask : run
The example works fine, and the run() task does get called.
The reason that you do not see the ovm_report_info() message is that some of the verbosity levels in OVM 2.0 have changed, and the default verbosity for reporting is set to OVM_LOW (see test_lib.sv, line 33). If you increase the default verbosity by one level by adding “+XBUS_VERBOSITY=OVM_MEDIUM” to the vsim command line, you will see your message, along with others which are suppressed.