mirror of
https://github.com/verilator/verilator.git
synced 2025-01-10 00:27:35 +00:00
d3d1291d5a
Line coverage now aggregates by hierarchy automatically. Previously this would be done inside SystemPerl, which was slower.
22 lines
572 B
Perl
Executable File
22 lines
572 B
Perl
Executable File
#!/usr/bin/perl
|
|
if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); die; }
|
|
# DESCRIPTION: Verilator: Verilog Test driver/expect definition
|
|
#
|
|
# Copyright 2003-2008 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 (
|
|
verilator_flags2 => [$Self->{v3}?'--sp --coverage-line':''],
|
|
);
|
|
|
|
execute (
|
|
check_finished=>1,
|
|
);
|
|
|
|
# Read the input .v file and do any CHECK_COVER requests
|
|
inline_checks();
|
|
|
|
ok(1);
|
|
1;
|