2006-08-26 11:35:28 +00:00
|
|
|
#!/usr/bin/perl
|
2008-09-23 14:02:31 +00:00
|
|
|
if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); die; }
|
2006-08-26 11:35:28 +00:00
|
|
|
# DESCRIPTION: Verilator: Verilog Test driver/expect definition
|
|
|
|
#
|
|
|
|
# Copyright 2004 by Wilson Snyder. This program is free software; you can
|
|
|
|
# redistribute it and/or modify it under the terms of either the GNU
|
|
|
|
# General Public License or the Perl Artistic License.
|
|
|
|
|
|
|
|
top_filename("t/t_inst_overwide.v");
|
|
|
|
|
|
|
|
compile (
|
2007-04-18 18:45:41 +00:00
|
|
|
v_flags2 => ["--lint-only"],
|
2006-08-26 11:35:28 +00:00
|
|
|
make_top_shell=>0,
|
|
|
|
verilator_flags=> [qw(-sp)],
|
|
|
|
verilator_make_gcc=>0,
|
2008-11-25 02:38:45 +00:00
|
|
|
fails=>$Self->{v3},
|
2006-08-26 11:35:28 +00:00
|
|
|
expect=>
|
|
|
|
'%Warning-WIDTH: t/t_inst_overwide.v:\d+: Output port connection outy_w92 expects 92 bits but connection\'s VARREF generates 30 bits.
|
|
|
|
%Warning-WIDTH: Use .* to disable this message.
|
|
|
|
%Warning-WIDTH: t/t_inst_overwide.v:\d+: Output port connection outz_w22 expects 22 bits but connection\'s VARREF generates 73 bits.
|
|
|
|
%Warning-WIDTH: t/t_inst_overwide.v:\d+: Input port connection inw_w31 expects 31 bits but connection\'s VARREF generates 1 bits.
|
|
|
|
%Warning-WIDTH: t/t_inst_overwide.v:\d+: Input port connection inx_w11 expects 11 bits but connection\'s VARREF generates 61 bits.
|
|
|
|
%Error: Exiting due to.*',
|
|
|
|
);
|
|
|
|
|
|
|
|
ok(1);
|
|
|
|
1;
|