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:
- 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();
- 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)