PDA

View Full Version : code coverage in modelsim_se


10-08-2007, 01:57 PM
how to merge multiple missed coverage files to see final uncoverd
lines in one file?


thanks in advance.

Paul Uiterlinden
10-08-2007, 05:37 PM
[email protected] wrote:

> how to merge multiple missed coverage files to see final uncoverd
> lines in one file?

Something like:

vcover merge -strip 3 -install dut_name total.cov file1.cov file2.cov ...

In this case I strip 3 levels of hierarchy of the coverage files that must
be merged, so later I can load the design with total.cov without a
testcase. For the rest: vcover -help and read the manual.

BTW: you don't merge missed coverage files, you merge coverage files. From
that a total coverage is made to get the final uncovered code by loading
the total coverage file in the simulator.

This may have changed, as ModelSim now uses ucdb files (unified coverage
data base). I don't have experience with that yet, though.

--
Paul Uiterlinden
www.aimvalley.nl
e-mail addres: remove the not.