I'm running multiple UVM tests for a certain DUT, I want to collect coverage statistics for all these tests By running the following command I get a detailed report on coverage after running simulation
the problem is that this report only includes statistics from the last test that was run , the file is overwritten after every test
I want to merge coverage statistics, I searched and found that I should used UCDB files but can't find any details on how to do so and produce a text file report.
Any help would be appreciated.
I just found this forum few days ago while I was tackling with a very similar problem.
In my case I have a for loop in which I run multiple tests for a single dut and I want to see how each one of them did.
I use this as an option for vsim command
Code:
-do "coverage save -onexit $TEST.ucdb; run -all"
to create .ucdb file and then after the test I use
to translate that into a txt file which I then parse with greps and awks into my own custom summary report.
Did it this way because I didn't know any better.
I actually did use it but can't get the ucdb file to be converted to text only html with very few details
- - - Updated - - -
I played around with the merge command plus what ledi have posted and found a solution
I save each test coverage to a separate ucbd file
I then merge them into another ucdb file
then report that file into text
This produces a text report with details
note: merged.ucdb has to be created beforehand, so I just made it once with a random run and kept it for later