SystemC::Coverage - Coverage analysis utilities
use SystemC::Coverage; $Coverage = new SystemC::Coverage; $Coverage->read (filename=>'cov1'); $Coverage->read (filename=>'cov2'); $Coverage->write (filename=>'cov_together');
SystemC::Coverage provides utilities for reading and writing coverage data, usually produced by the SP_COVER_INSERT or SP_AUTO_COVER function of the SystemPerl package.
The coverage data is stored in a global hash called %Coverage, thus subsequent reads will increment the same global structure.
Clear the coverage variables
Delete specified coverage item.
Increment the coverage statistics, entering keys for every value. The last value is the increment amount. See SystemC::Coverage::Item for the list of standard named parameters.
Return all coverage items, as a list of SystemC::Coverage::Item objects.
Return all coverage items in sorted order, as a list of SystemC::Coverage::Item objects.
Make a new empty coverage container.
Read the coverage data from the file, with error checking.
Write the coverage variables to the file in a form where they can be read back by simply evaluating the file.
Copyright 2001-2013 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.
Wilson Snyder <email@example.com>