http://www.eda-stds.org/svdb/view.php?id=3763 Aside from style, why are we putting the restriction? Is there a restriction? If a simulator accepts the example originally shown (see below) would that be an error? It seems that a compiler should be able to differentiate between a formal argument name and a label. covergroup cg ( ref int x , ref int y, *input int c*); coverpoint x; // creates coverpoint "x" covering the formal "x" x: coverpoint x; // INVALID: coverpoint label "x" already exists b: coverpoint y; // creates coverpoint "b" covering the formal "y" *c*: coverpoint x; // creates coverpoint "c" covering the formal "x" option.weight = c; // set weight of "cg" to value of formal "c" BTW, I am the one who initiated the mantis, but now, after a revisit of some issues, I am questioning its validity. I am sure that the mantis was challenged and approved for a good reason. Ben Cohen -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Sun Dec 9 19:06:10 2012
This archive was generated by hypermail 2.1.8 : Sun Dec 09 2012 - 19:06:31 PST