I want to merge the coverage report of two different runs of the same test.
Run 1 having a cover percentage of 60%. Let's the cov_work is in the path .run_1/cov_work/scope/sample_test
Run 2 having a cover percentage of 80% and it path shall be ./run2/cov_work/scope/sample_test
I wan to merge the coverage of both runs.
While merging both the coverage. The covergroup which is not hit 100% in run_1 will be overwritten by the covergroup which is hit 100% in run_2?
If not, is there is a way to generate the coverage in the above expected way?
Merging performs a union of the hit counts, if if a bin gets hit in any one test, the same bin will be hit in the merged coverage.