In general, the name of the UVM object should be the same as the variable name it’s assigned to. This makes it easier to associate UVM object path names with SystemVerilog variables names while debugging.
VERILOG
class my_agent extends uvm_agent;
`uvm_component_utils(my_agent)
my_sequencer m_sequencer;
my_driver m_driver;
my_monitor m_monitor;
function void build_phase(uvm_phase phase);
// UVM object name 'my_sequencer' does not match variable name 'm_sequencer'
m_sequencer = my_sequencer::type_id::create("my_sequencer", this);
// UVM object name 'bus_driver' does not match variable name 'm_driver'
m_driver = my_driver::type_id::create("bus_driver", this);
m_monitor = my_monitor::type_id::create("m_monitor", this);
endfunction
endclassRule 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:
TEXT
149/severity/${path}={error|warning|info|ignore}