mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Commentary about IMPERFECTSCH. Add test.
This commit is contained in:
parent
393b5d48b2
commit
bffc2233a0
@ -351,7 +351,8 @@ descriptions in the next sections for more information.
|
||||
+verilog1995ext+<ext> Synonym for +1364-1995ext+<ext>
|
||||
+verilog2001ext+<ext> Synonym for +1364-2001ext+<ext>
|
||||
--vpi Enable VPI compiles
|
||||
-Werror-<message> Convert warning to error
|
||||
-Wall Enable all style warnings
|
||||
-Werror-<message> Convert warnings to errors
|
||||
-Wfuture-<message> Disable unknown message warnings
|
||||
-Wno-<message> Disable warning
|
||||
-Wno-lint Disable all lint warnings
|
||||
@ -1200,8 +1201,9 @@ Enable use of VPI and linking against the verilated_vpi.cpp files.
|
||||
|
||||
=item -Wall
|
||||
|
||||
Enable all warnings, including code style warnings that are normally
|
||||
disabled by default.
|
||||
Enable all code style warnings, including code style warnings that are
|
||||
normally disabled by default. Equivelent to "-Wwarn-lint -Wwarn-style".
|
||||
Excludes some specialty warnings, i.e. IMPERFECTSCH.
|
||||
|
||||
=item -Werror-I<message>
|
||||
|
||||
@ -3156,8 +3158,8 @@ correctly.
|
||||
|
||||
Warns that the scheduling of the model is not absolutely perfect, and some
|
||||
manual code edits may result in faster performance. This warning defaults
|
||||
to off, and must be turned on explicitly before the top module statement is
|
||||
processed.
|
||||
to off, is not part of -Wall, and must be turned on explicitly before the
|
||||
top module statement is processed.
|
||||
|
||||
=item IMPLICIT
|
||||
|
||||
|
21
test_regress/t/t_order_clkinst_bad.pl
Executable file
21
test_regress/t/t_order_clkinst_bad.pl
Executable file
@ -0,0 +1,21 @@
|
||||
#!/usr/bin/perl
|
||||
if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); die; }
|
||||
# DESCRIPTION: Verilator: Verilog Test driver/expect definition
|
||||
#
|
||||
# Copyright 2003-2009 by Wilson Snyder. This program is free software; you can
|
||||
# redistribute it and/or modify it under the terms of either the GNU
|
||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
||||
# Version 2.0.
|
||||
|
||||
top_filename("t/t_order_clkinst.v");
|
||||
|
||||
compile (
|
||||
v_flags2 => ["-Wwarn-IMPERFECTSCH"],
|
||||
fails=>1,
|
||||
expect=>
|
||||
q{.*%Warning-IMPERFECTSCH: .*
|
||||
.*%Error: Exiting due to.*},
|
||||
);
|
||||
|
||||
ok(1);
|
||||
1;
|
Loading…
Reference in New Issue
Block a user