[sv-ec] RE: Can a bins_selection contain multiple matches clauses?

From: Little, Scott <scott.little@intel.com>
Date: Mon Jul 09 2012 - 21:39:08 PDT

Hi Brad,

I believe that John's example is sufficient. I would prefer the precedence solution to requiring explicit parentheses.

I agree that with the result of the matches expression being an integer it is unlikely that && would be used in the integer_covergroup_expression. I also believe that writers of complex expressions will wisely use parentheses as John did in his example.

Thanks,
Scott

-----Original Message-----
From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of Brad Pierce
Sent: Monday, July 09, 2012 6:24 PM
To: sv-ec@eda.org
Cc: John Havlicek
Subject: [sv-ec] RE: Can a bins_selection contain multiple matches clauses?

Hi Scott,

So the answer to the question in the subject, I gather, is 'yes', there can be multiple match clauses in a single bins_selection. (Still no example of it.)

Regarding precedence, there was already a proposal like that on the table.

   http://www.eda.org/svdb/file_download.php?file_id=5829&type=bug

But there was discomfort expressed about it, for example, via the question in the subject. And there were doubts about the choice of precedence being proposed. How would you vote on the proposal I linked to?

The underlying ambiguity is between the overloaded meanings of &&, as in http://www.eda.org/svdb/view.php?id=117 , but it doesn't matter so much here where && and || are unlikely to be used as Boolean operators.

-- Brad
Received on Mon Jul 9 21:39:10 2012

This archive was generated by hypermail 2.1.8 : Mon Jul 09 2012 - 21:39:14 PDT