2009-09-17 00:52:52 +00:00
|
|
|
#!/usr/bin/perl
|
|
|
|
if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); die; }
|
|
|
|
# DESCRIPTION: Verilator: Verilog Test driver/expect definition
|
|
|
|
#
|
|
|
|
# Copyright 2003 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.
|
|
|
|
|
2018-05-08 00:42:28 +00:00
|
|
|
scenarios(simulator => 1);
|
|
|
|
|
2018-05-07 02:39:18 +00:00
|
|
|
compile(
|
|
|
|
v_flags2 => ["--lint-only"],
|
2018-05-08 23:39:32 +00:00
|
|
|
fails => $Self->{vlt_all},
|
2018-05-07 02:39:18 +00:00
|
|
|
expect =>
|
2009-10-10 02:55:37 +00:00
|
|
|
q{%Error: t/t_select_bad_tri.v:\d+: Selection index is constantly unknown or tristated: lsb=7'bxxxxxxx width=32'sh47
|
2009-09-17 00:52:52 +00:00
|
|
|
%Error: Exiting due to.*},
|
2018-05-07 02:39:18 +00:00
|
|
|
);
|
2009-09-17 00:52:52 +00:00
|
|
|
|
|
|
|
ok(1);
|
|
|
|
1;
|
|
|
|
|