mirror of
https://github.com/verilator/verilator.git
synced 2025-01-09 16:17:36 +00:00
26 lines
593 B
Perl
Executable File
26 lines
593 B
Perl
Executable File
#!/usr/bin/perl
|
|
if (!$::Driver) { use FindBin; exec("./driver.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
|
|
# General Public License or the Perl Artistic License.
|
|
|
|
unlink("obj_dir/t_sys_file_basic_test.log");
|
|
|
|
compile (
|
|
v_flags2 => ['+incdir+../include'],
|
|
);
|
|
|
|
execute (
|
|
check_finished=>1,
|
|
);
|
|
|
|
file_grep ("obj_dir/t_sys_file_basic_test.log",
|
|
qr/\[0\] hello v=12345667
|
|
\[0\] Hello2
|
|
/);
|
|
|
|
ok(1);
|
|
1;
|