forked from github/verilator
d6c2e2faf6
This will still warn if a case item is completely covered by previous items, but will no longer complain about overlaps like this: priority casez (foo_i) 2'b ?1: bar_o = 3'd0; 2'b 1?: bar_o = 3'd1; Before, there was a warning for the second statement because the first two patterns match 2'b11.
20 lines
572 B
Perl
Executable File
20 lines
572 B
Perl
Executable File
#!/usr/bin/env perl
|
|
if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); die; }
|
|
# DESCRIPTION: Verilator: Verilog Test driver/expect definition
|
|
#
|
|
# Copyright 2021 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.
|
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
|
|
|
scenarios(linter => 1);
|
|
|
|
lint(
|
|
fails => 1,
|
|
expect_filename => $Self->{golden_filename},
|
|
);
|
|
|
|
ok(1);
|
|
1;
|