NAME
SystemC::Coverage::Item - Coverage analysis item
SYNOPSIS
use SystemC::Coverage;
$Coverage = new SystemC::Coverage;
foreach my $item ($Coverage->items()) {
print $item->count;
}
DESCRIPTION
SystemC::Coverage::Item provides data on a single coverage point.
METHODS
- count_inc (inc)
-
Increment the item's count by the specified value.
- hash
-
Return a reference to a hash of key/value pairs.
- key
-
Return a key suitable for sorting.
ACCESSORS
- col[0-9]
-
The (enumeration) value name for this column in a table cross.
- col[0-9]_name
-
The column title for the header line of this column.
- column
-
Column number for the item. Used to disambiguate multiple coverage points on the same line number.
- comment
-
Textual description for the item.
- count
-
The numerical count for this point.
- filename
-
Filename of the item.
- groupdesc
-
Description of the covergroup this item belongs to.
- groupname
-
Group name of the covergroup this item belongs to.
- hier
-
Hierarchy path name for the item.
- lineno
-
Line number for the item.
- per_instance
-
True if every hierarchy is independently counted; otherwise all hierarchies will be combined into a single count.
- row[0-9]
-
The (enumeration) value name for this row in a table cross.
- row[0-9]_name
-
The row title for the header line of this row.
- table
-
The name of the table for automatically generated tables.
- type
-
Type of coverage (block, line, fsm, etc.)
DISTRIBUTION
SystemPerl is part of the http://www.veripool.org/ free SystemC software tool suite. The latest version is available from CPAN and from http://www.veripool.org/systemperl.
Copyright 2001-2010 by Wilson Snyder. This package 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.
AUTHORS
Wilson Snyder <wsnyder@wsnyder.org>