As per IEEE P1800 LRM, both the syntax (shown below) for a covergroup instance declaration are supported. cg cg_inst; [In this case, user has to instantiate it procedurally, namely, cg_inst = new; ] cg cg_inst = new; Now, what will be the behavior in the following example? module test; covergroup cg @(posedge clk); coverpoint a; endgroup cg cg_inst = new; // instantiation at module level .. initial begin cg_inst = new; // instantiation at block level ... end endmodule Thx, Swapnajit.Received on Fri Jan 20 06:43:43 2006
This archive was generated by hypermail 2.1.8 : Fri Jan 20 2006 - 06:43:59 PST