RE: [sv-ec] Clarification of wildcardbins

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Tue Aug 08 2006 - 06:25:12 PDT
I agree with Ray's conclusion.

The LRM says, "To create a separate bin for each value (an array of
bins), the square brackets, [], must follow the bin name."

This says that each *value* gets its own bin.

There is also the example

"bins b[] = { [127:150],[148:191] }; // note overlapping values"

and the LRM says, "creates a set of 65 bins b[127], b[128],...b[191]."

This is similar to a wildcard.

Shalom


> -----Original Message-----
> From: owner-sv-ec@server.eda-stds.org [mailto:owner-sv-ec@server.eda-
> stds.org] On Behalf Of Arturo Salz
> Sent: Tuesday, August 08, 2006 3:52 PM
> To: Swapnajit Chakraborti; Ryan, Ray; sv-ec@server.eda-stds.org
> Subject: RE: [sv-ec] Clarification of wildcardbins
> 
> Swapnajit,
> 
> I would think that only two bins are created.
> 
> 	Arturo
> 
> -----Original Message-----
> From: owner-sv-ec@eda-stds.org [mailto:owner-sv-ec@eda-stds.org] On
> Behalf Of Swapnajit Chakraborti
> Sent: Monday, August 07, 2006 7:22 AM
> To: Ryan, Ray; sv-ec@eda-stds.org
> Subject: RE: [sv-ec] Clarification of wildcardbins
> 
> Ray,
> 
> I agree with you on this and the modification
> looks reasonable to me.
> 
> Thx,
> Swapnajit.
> 
> >-----Original Message-----
> >From: owner-sv-ec@eda-stds.org
> >[mailto:owner-sv-ec@eda-stds.org] On Behalf Of Ryan, Ray
> >Sent: Saturday, August 05, 2006 3:53 AM
> >To: sv-ec@eda-stds.org
> >Subject: [sv-ec] Clarification of wildcardbins
> >
> >
> >Some clarification is needed for creation of wildcardbins.
> >
> >For the following wildcardbins declaration:
> >
> >	wildcard bins b[] = { 4'b11??, 4'b1?0? } ;
> >
> >how many bins are created? My expectation is that this creates
> >6 bins for the values 1000, 1001, 1100, 1101, 1110, 1111.
> >
> >To clarify this, I propose changing the example in section
> >18.4.2 as follows:
> >
> >Replace:
> >		wildcard bins g12_15 = { 4'b11?? };
> >
> >	The count of bin g12_15 is incremented when the sampled
> >variable is between 12 and 15:
> >
> >		1100 1101 1110 1111
> >
> >
> >With:
> >		wildcard bins g[] = { 4'b11??, 4'b1?0? };
> >
> >	This declaration creates a set of 6 bins, g[8], g[9],
> >g[12], g[13], g[14], g[15].
> >
> >
Received on Tue Aug 8 06:25:55 2006

This archive was generated by hypermail 2.1.8 : Tue Aug 08 2006 - 06:25:59 PDT