2009-11-19 22:04:21 +00:00
|
|
|
#!/usr/bin/perl
|
|
|
|
if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); die; }
|
2018-05-08 00:42:28 +00:00
|
|
|
# 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.
|
|
|
|
|
|
|
|
scenarios(simulator => 1);
|
2009-11-19 22:04:21 +00:00
|
|
|
|
2018-05-07 02:39:18 +00:00
|
|
|
compile(
|
|
|
|
v_flags2 => ['-v', 't/t_flag_libinc.v'],
|
|
|
|
);
|
2009-11-19 22:04:21 +00:00
|
|
|
|
2018-05-07 02:39:18 +00:00
|
|
|
execute(
|
|
|
|
check_finished => 1,
|
2019-12-03 23:22:17 +00:00
|
|
|
all_run_flags => ['+PLUS +INT=1234 +STRSTR +REAL=1.2345'],
|
2018-05-07 02:39:18 +00:00
|
|
|
);
|
2009-11-19 22:04:21 +00:00
|
|
|
|
|
|
|
ok(1);
|
|
|
|
1;
|