When overriding a phase method of a user-defined UVM component, the superclass method must be called.
class parent_comp extends uvm_component;
...
function void build_phase(uvm_phase phase);
...
endfunction
function void connect_phase(uvm_phase phase);
...
endfunction
endclass
class child_comp extends parent_comp;
...
function void build_phase(uvm_phase phase);
// no super call
...
endfunction
function void connect_phase(uvm_phase phase);
super.connect_phase(phase);
...
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 using one of the following templates, depending on the type of project you use.
For Modular Projects, add these entries to your project's
.sigasi/settings.jsonsettings file. To scope the settings to a specific folder or file instead of the whole project, place them inside an@overrideblock; to scope them to a specific target, place them inside a@targetsblock.JSONC{ "verilog.rules.153.severity": "{ERROR|WARNING|INFO|IGNORE}" }For Classic Projects, add the VHDL lines to
.settings/com.sigasi.hdt.vhdl.linting.prefsand the Verilog/SystemVerilog lines to.settings/com.sigasi.hdt.verilog.linting.prefs:PREFS153/severity/${path}={error|warning|info|ignore}