[sv-ec] Query on mantis 2993 (in top 25 list)

From: Swapnajit Chakraborti <swapnaj@cadence.com>
Date: Tue Jun 08 2010 - 00:30:12 PDT

Hi All,

As per following mantis (included in top 25 list):
0002993: Cross cover points across different cover groups
instantiation of covergroups is allowed within covergroups (shown below):

covergroup stage_corners(ref bit ovr_bit, ref bit udr_bit, ref bit err ..., ref bit [71:0] op, ref bit[1:0] precision);
   pipe_events pe = new(ovr_bit, udr_bit, err,...; <<---- new inside covergroup
   opcodes op = new(op, precision); <<--- new inside covergroup
   cross pe op.op.prec;
endgroup

Is this syntax finalized? These are variable decl assignment statements. Are we planning to allow
such statements within covergroup just to support hierarchical crosses?

There could be an alternate approach if we allow covergroup modeling just like classes and allow
multiple inheritance for covergroups as well. In that case the covergroup which needs to use
hierarchical cross can extend itself from all those covergroups whose coverpoints it wants to
reuse and then just writes the cross. This will probably be more intuitive and more aligned towards
making covergroups like classes.

Regds,
Swapnajit

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Jun 8 00:30:58 2010

This archive was generated by hypermail 2.1.8 : Tue Jun 08 2010 - 00:31:28 PDT