In reply to dave_59:
Hi Dave ,
What if user wants to implement the following as per existing LRM ::
create a cross between a coverpoint in the base covergroup with a coverpoint in the extended covergroup
I tried the following code :
class Ext extends Base ;
bit [1:0] b ;
covergroup ext_cg ;
auto_a: coverpoint a;
auto_b: coverpoint b ;
cross auto_a, auto_b;
gc1 = null ; // Although Legal syntax, coverage report not as per intention
ext_cg = new();
bins of covergroup gc1 are still inherited although I call null on it explicitly .
Does the LRM have a provision to revert an initialized covergroup to uninitialized / default state ( similar to class objects ) ?