UVM objects and components must be registered with the factory using one of the UVM utility macros.
class my_uvm_component extends uvm_component;
function new(string name, uvm_component parent);
super.new(name, parent);
endfunction
endclass
class my_uvm_component extends uvm_component; `uvm_component_utils(my_uvm_component) function new(string name, uvm_component parent); super.new(name, parent); endfunction endclass
Rule Configuration
This rule can be disabled for your project, or its severity and parameters can be modified in the project linting settings. Alternatively, it can be manually configured with the following template:
145/severity/${path}={error|warning|info|ignore}
145/params/allow_unregistered_virtual_uvm_objects/${path}={true|false}