I am writing a covergroup which will have multiple instances, The covergroup is defined with option.per_instance=1.
But in the report generated i get the report for per instance and also the individual coverpoint. I am not expecting the individual coverpoint.
Code snippet as below
covergroup test_cg
option.per_instance=1
test1_cp : coverpoint abc;
test2_cp : coverpoint def;
endgroup
//CREATING 4 Instances of covergroup
for (i=1; i<5; i++)
begin
test_cg_instance_i = new(); //Please ignore the syntax.
end
Generated report
test1_cp
test2_cp
*test_cg_instance_0: test1_cp
test2_cp
test_cg_instance_1: test1_cp
test2_cp
test_cg_instance_2: test1_cp
test2_cp
test_cg_instance_3: test1_cp
test2_cp*
I am not expecting the coverpoint highlghted here in bold. Can anyone please help?
Thanks,
Debashis