I tried to merge functional coverage for 2 test. its not getting merged. it always show same figure.
can anybody comment on it. further when I collect coverage for individual test, for both test, it shows 30%. but for second test when I see internal covergroup figures, those are different. strange behaviour. I am using IRUN to dump coverage data.
I am using following commands to merge it.
Your help will be highly appreciated. thanks in advance.
This is solved.
Basically I had a filelist for testbench and I was giving this filelist for compilation to this tool. in that case all classes probably will be in compilation unit scope. and we were setting set_dut_modules to our DUT. so I took all Testbench files inside TOP module. the moment i did so, it started merging correctly.
If anybody is facing this issue check your coverage classes not to be in compilation unit scope. if it is, take it inside top module and while coverage options , give -covdut "top_module". and you are done. for me it worked fine.