URL
https://opencores.org/ocsvn/socgen/socgen/trunk
[/] [socgen/] [trunk/] [tools/] [simulation/] [build_coverage] - Diff between revs 125 and 126
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 125 |
Rev 126 |
Line 161... |
Line 161... |
my($cover_name) = $i_name ->findnodes('./text()')->to_literal ;
|
my($cover_name) = $i_name ->findnodes('./text()')->to_literal ;
|
my($cover_inst) = $i_name ->findnodes('../componentInstance/text()')->to_literal ;
|
my($cover_inst) = $i_name ->findnodes('../componentInstance/text()')->to_literal ;
|
print MAKCOVFILE "\tcovered score -cdd ${cover_name}.cdd -vcd ../../icarus/\$(TEST)/TestBench.vcd 2>> ${cover_name}_sco_cov.log | tee >> ${cover_name}_sco_cov.log ;\\\n";
|
print MAKCOVFILE "\tcovered score -cdd ${cover_name}.cdd -vcd ../../icarus/\$(TEST)/TestBench.vcd 2>> ${cover_name}_sco_cov.log | tee >> ${cover_name}_sco_cov.log ;\\\n";
|
}
|
}
|
|
|
|
|
|
|
|
|
|
|
|
print MAKCOVFILE " \n";
|
|
print MAKCOVFILE ".PHONY score_cov_ver:\n";
|
|
print MAKCOVFILE "score_cov_ver:\n";
|
|
|
|
foreach my $i_name ($sogen_file->findnodes("//socgen:testbench[socgen:variant/text() = '$variant']/socgen:code_coverage/socgen:cover/socgen:name"))
|
|
{
|
|
my($cover_name) = $i_name ->findnodes('./text()')->to_literal ;
|
|
my($cover_inst) = $i_name ->findnodes('../componentInstance/text()')->to_literal ;
|
|
print MAKCOVFILE "\tcovered score -cdd ${cover_name}.cdd -vcd ../../verilator/\$(TEST)/TestBench.vcd 2>> ${cover_name}_sco_cov.log | tee >> ${cover_name}_sco_cov.log ;\\\n";
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
print MAKCOVFILE " \n";
|
print MAKCOVFILE " \n";
|
print MAKCOVFILE ".PHONY report_cov:\n";
|
print MAKCOVFILE ".PHONY report_cov:\n";
|
print MAKCOVFILE "report_cov:\n";
|
print MAKCOVFILE "report_cov:\n";
|
|
|
foreach my $i_name ($sogen_file->findnodes("//socgen:testbench[socgen:variant/text() = '$variant']/socgen:code_coverage/socgen:cover/socgen:name"))
|
foreach my $i_name ($sogen_file->findnodes("//socgen:testbench[socgen:variant/text() = '$variant']/socgen:code_coverage/socgen:cover/socgen:name"))
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.