Static Method

In reply to dave_59:

Many thanks for your speedy response; you’re great always.

  1. The pss_env_config is the returned type; when memory is allocated for the static method pss_env_config::get_config, this type is not created yet. Would it not result in “undefined type” during compilation?

  2. As written in line 186 of the uvm_globals.svh, the uvm_globals::uvm_report_fatal is not a static method; an access to this automatic method in a static method will result a syntax error. In the old days, we used macro uvm_fatal_context which uses static uvm_root::get to get around this issue. Has there been a new revision of the UVM, and this issue has been taken care of and there is no need for uvm_*_context?