66 lines
1.3 KiB
Plaintext
66 lines
1.3 KiB
Plaintext
# a start/stop range covers its markers and everything between
|
|
module m;
|
|
// lucisv: waive-start no-tabs
|
|
wire a;
|
|
wire b;
|
|
// lucisv: waive-stop no-tabs
|
|
wire c;
|
|
//^ 1 no-tabs
|
|
endmodule
|
|
====
|
|
# an unclosed range runs to the end of the file
|
|
module m;
|
|
// lucisv: waive-start no-tabs
|
|
wire a;
|
|
wire b;
|
|
endmodule
|
|
====
|
|
# a stop closes the innermost open start
|
|
module m;
|
|
// lucisv: waive-start no-tabs
|
|
// lucisv: waive-start no-tabs
|
|
wire a;
|
|
// lucisv: waive-stop no-tabs
|
|
wire b;
|
|
// lucisv: waive-stop no-tabs
|
|
wire c;
|
|
//^ 1 no-tabs
|
|
endmodule
|
|
====
|
|
# a verible waiver for a rule lucisv does not have is ignored
|
|
module m;
|
|
// verilog_lint: waive macro-name-style
|
|
wire a;
|
|
endmodule
|
|
====
|
|
# lucisv's own spelling for an unknown rule is reported
|
|
module m;
|
|
// lucisv: waive macro-name-style
|
|
//^ 3 unused-waiver
|
|
wire a;
|
|
endmodule
|
|
====
|
|
# a malformed waiver is reported
|
|
module m;
|
|
// lucisv: waive
|
|
//^ 3 unused-waiver
|
|
endmodule
|
|
====
|
|
# a waive-stop with nothing open is reported
|
|
module m;
|
|
// lucisv: waive-stop no-tabs
|
|
//^ 3 unused-waiver
|
|
endmodule
|
|
====
|
|
# a waiver for a rule this run did not enable is silent
|
|
#select no-trailing-whitespace,unused-waiver
|
|
module m;
|
|
wire a; // lucisv: waive no-tabs
|
|
endmodule
|
|
====
|
|
# an unused waiver can itself be waived
|
|
module m;
|
|
// lucisv: waive unused-waiver
|
|
wire a; // lucisv: waive no-tabs
|
|
endmodule
|