mirror of
https://github.com/verilator/verilator.git
synced 2025-01-09 16:17:36 +00:00
52912c6329
- Change .cvsignore to .gitignore - Remove Id metacomments - Cleanup whitespace at end of lines
32 lines
771 B
Perl
Executable File
32 lines
771 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.
|
|
|
|
compile (
|
|
);
|
|
|
|
execute (
|
|
check_finished=>1,
|
|
expect=>quotemeta(
|
|
'pre thrupre thrumid thrupost post: "right side"
|
|
left side: "right side"
|
|
left side : "right side "
|
|
left_side : "right_side "
|
|
na : "right_side "
|
|
prep ( midp1 left_side midp2 ( outp ) ) : "right_side "
|
|
na: "nana"
|
|
`ls `rs : "`ls `rs "
|
|
: ""
|
|
left side: "right side"
|
|
left side : "right side "
|
|
twoline: "first second"
|
|
*-* All Finished *-*
|
|
'));
|
|
|
|
ok(1);
|
|
1;
|