forked from github/verilator
fad465abf1
* Add more directives to configuration files Allow to set the same directives in configuration files that can also be set by comment attributes (such as /* verilator public */ etc). * Add support for lint messsage waivers Add configuration file switch '-match' for lint_off. It takes a string with wildcards allowed and warnings will be matched against it (if rule and file also match). If it matches, the warning is waived. Fixes #1649 and #1514 Closes #2072
22 lines
811 B
Plaintext
22 lines
811 B
Plaintext
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
// without warranty, 2010 by Wilson Snyder.
|
|
|
|
`verilator_config
|
|
|
|
lint_off -rule DEPRECATED -file "t/t_vlt_warn.vlt" -lines 13
|
|
lint_off -rule CASEINCOMPLETE -file "t/t_vlt_warn.v"
|
|
lint_off -rule WIDTH -file "t/t_vlt_warn.v" -lines 18
|
|
lint_off -rule DECLFILENAME -file "*/t_vlt_warn.v"
|
|
// Test wildcard filenames
|
|
lint_off -msg WIDTH -file "*/t_vlt_warn.v" -lines 19-19
|
|
// Test global disables
|
|
lint_off -file "*/t_vlt_warn.v" -lines 20-20
|
|
// Test match
|
|
lint_off -rule UNUSED -file "*/t_vlt_warn.v" -match "Signal is not used: 'width_warn*'"
|
|
|
|
coverage_off -file "t/t_vlt_warn.v"
|
|
// Test --flag is also accepted
|
|
tracing_off --file "t/t_vlt_warn.v"
|