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.
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-2014 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 <wsnyder@wsnyder.org>
SystemC::Manual
vcoverage, SystemC::Coverage::Item
To install SystemC::Netlist, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SystemC::Netlist
CPAN shell
perl -MCPAN -e shell install SystemC::Netlist
For more information on module installation, please visit the detailed CPAN module installation guide.