I’m new using coverage databases, but it is required for my current work.
My idea (according to what I understood from the coverage information I’ve read) was to create a DB with each test and the merge then merge the coverage data for the different tests into the same database, hence increasing the coverage data with each successive test.
Now the problem is that I cannot merge the coverage data from two tests with the same name, where name is literally the value of the parameter +UVM_TESTNAME I pass in the commmand line, which corresponds to the name of a class in in my UVM code.
The reason that I would like to merge the coverage data for different tests it is because I’m learning so I change some parameters and I would like to add the information (if any) created by the same test with the different parameters. How can I do this?
The code I use is:
coverage save -uvmtestname ./UCDB/temp.ucdb
vcover merge -testassociated -out ./UCDB/top.ucdb ./UCDB/temp.ucdb ./UCDB/top.ucdb
This gives the error:
** Error (suppressible): (vcover-6854) Multiple test data records with the same name encountered during the merge
of file ‘./UCDB/top.ucdb’.
What should I do?