A class has a function that is non-static. However, there is a member declared inside the function as static. What would the behavior be in this case?
class ABC;
function check;
static cfg_var;
if (cfg_var==null) uvm_config_db #(cfg)::get(this, "", "m_cfg", cfg_var);
//do something here
endfunction
endclass
initial begin
@(posedge clk)
//call function check
end