Syntax error on UVMConnect - uvmc_commands - Please fix in next version for UVM 1.2 compatibility

I downloaded UVM Connect 2.3.1 and realized there are two issues that could easily be fixed to support compatibility with all simulators and allow +UVM_NO_DEPRECATED to be defined when analyzing the uvmc library:

  1. in src/connect/sv/uvmc_commands.sv : UVMC_set_config_object line 724
obj = factory.create_object_by_name...

However, ‘factory’ is not declared in this function. I recommend to add the following line after the declaration of obj and comp within the function


uvm_object obj;
uvm_object comp;
uvm_object factory = uvm_factory::get();

  1. in src/connect/sv/uvmc_commands.sv : lines 536 and 555
    Use uvm_severity as a type (and cast) instead of the deprecated uvm_severity_type type, i.e. replace
uvm_severity_type sev = uvm_severity_type'(severity)

with

uvm_severity sev = uvm_severity'(severity)

In reply to jmartinl:

Whilst issue 1 has been fixed in UVM Connect 2.3.2, the uvm_severity_type replacement with uvm_severity has not been done. Hence, compiling with UVM_NO_DEPRECATED is not possible yet.