Covergroup instance warning

In reply to MonaliDeshmukh:

Use “nchelp ncsim COVDCG” for more information on warning.

For the snippet I’m unable to simulate the warning.


covergroup cg ;
...
endgroup
cg cg_inst1 = new ;
cg cg_inst2 = new ;
  initial begin
     #5 cg_inst1 = null;  // warning will be thrown
     #5 cg_inst2 = null;  // warning will not be thrown
  end