Commentary
This commit is contained in:
parent
be1d275151
commit
e741a29d36
|
|
@ -2824,7 +2824,7 @@ when displaying all times, model wide.
|
||||||
|
|
||||||
=head1 ERRORS AND WARNINGS
|
=head1 ERRORS AND WARNINGS
|
||||||
|
|
||||||
Warnings may be disabled in two ways. First, when the warning is
|
Warnings may be disabled in three ways. First, when the warning is
|
||||||
printed it will include a warning code. Simply surround the offending
|
printed it will include a warning code. Simply surround the offending
|
||||||
line with a warn_off/warn_on pair:
|
line with a warn_off/warn_on pair:
|
||||||
|
|
||||||
|
|
@ -2832,6 +2832,10 @@ line with a warn_off/warn_on pair:
|
||||||
if (`DEF_THAT_IS_EQ_ZERO <= 3) $stop;
|
if (`DEF_THAT_IS_EQ_ZERO <= 3) $stop;
|
||||||
// verilator lint_on UNSIGNED
|
// verilator lint_on UNSIGNED
|
||||||
|
|
||||||
|
Second, warnings may be disabled using a configuration file with a lint_off
|
||||||
|
command. This is useful when a script is suppressing warnings and the
|
||||||
|
Verilog source should not be changed.
|
||||||
|
|
||||||
Warnings may also be globally disabled by invoking Verilator with the
|
Warnings may also be globally disabled by invoking Verilator with the
|
||||||
C<-Wno-I<warning>> switch. This should be avoided, as it removes all
|
C<-Wno-I<warning>> switch. This should be avoided, as it removes all
|
||||||
checking across the designs, and prevents other users from compiling your
|
checking across the designs, and prevents other users from compiling your
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue