26 lines
520 B
Plaintext
26 lines
520 B
Plaintext
# a module named unlike its file is flagged at its name
|
|
#path rtl/bar.sv
|
|
module foo;
|
|
//^ 8 module-filename
|
|
endmodule
|
|
====
|
|
# a module matching its file is quiet
|
|
#path rtl/foo.sv
|
|
module foo;
|
|
endmodule
|
|
====
|
|
# without a file name the rule has nothing to say
|
|
module foo;
|
|
endmodule
|
|
====
|
|
# waived on the same line
|
|
#path rtl/bar.sv
|
|
module foo; // lucisv: waive module-filename
|
|
endmodule
|
|
====
|
|
# a waiver that waives nothing is reported
|
|
#path rtl/foo.sv
|
|
module foo; // lucisv: waive module-filename
|
|
//^ 13 unused-waiver
|
|
endmodule
|