[sv-bc] RE: arguments for system functions

From: Bresticker, Shalom <shalom.bresticker@intel.com>
Date: Wed Nov 17 2010 - 22:59:51 PST

Hi,

Mantis 1559 is "To which types can $countones be applied?". That issue is still open.

Mantis 2476 is " Need clarification about system functions $onehot, etc", and the description is
"A clarification is needed what can the argument type of system functions $onehot, $onehot0, $isunknown and $countones be and where these functions may be used - in assertions only or everywhere in expressions."
However, I don't see that the approval proposal to 2476 addresses the argument type issue.

Mantis 3036 is "Explicitly allow unpacked data types for arguments of assertion system functions".

If 2476 will not address this issue, then no current Mantis addresses it, I think, and probably 1559 should be expanded to cover the other similar functions as well.

Regards,
Shalom

> -----Original Message-----
> From: owner-sv-ac@eda.org [mailto:owner-sv-ac@eda.org] On Behalf Of
> Kulshrestha, Manisha
> Sent: Thursday, November 18, 2010 8:53 AM
> To: Tapan Kapoor; sv-ac@eda.org
> Subject: [sv-ac] RE: arguments for system functions
>
> Hi Tapan,
>
> It is not clear from the description if $onehot0 etc. have to follow
> the
> same restrictions on the expression as in expressions in assertions.
> Since these functions can be used outside of assertions, it is better
> to
> describe what kind of arguments can be passed to them.
>
> Manisha
>
> -----Original Message-----
> From: Tapan Kapoor [mailto:tkapoor@cadence.com]
> Sent: Thursday, November 18, 2010 12:19 PM
> To: Kulshrestha, Manisha; sv-ac@eda.org
> Subject: RE: arguments for system functions
>
> Hi Manisha,
>
> The argument to these function is "expression", which is also an
> argument to immediate assertions (16.3), deferred assertions (16.4) and
> sampled value functions like $rose, $fell (deal with LSB of expression)
> in section 16.9.3. These are also potential candidates if any
> definition
> change is to be considered.
>
> Section 16.6 does provide some sort of definition (which more of set of
> restrictions) for the expression that can appear in sequence and
> property expressions. I tend to agree that this definition is not good
> enough for all the constructs (discussed in clause 16).
>
>
> Warm regards,
>
> Tapan
>
> "You must be the change you want to see in the world" : Mahatma Gandhi
>
>
> >-----Original Message-----
> >From: owner-sv-ac@eda.org [mailto:owner-sv-ac@eda.org] On Behalf Of
> >Kulshrestha, Manisha
> >Sent: Thursday, November 18, 2010 11:21 AM
> >To: sv-ac@eda.org
> >Subject: [sv-ac] arguments for system functions
> >
> >Hi,
> >
> >Currently LRM does not define what type of expressions can be used in
> >system functions $onehot, $onehot0 etc. (these functions are defined
> in
> >16.12.). Since the expression passed to these function should be
> >converted to a bit vector before doing any analysis on it, is it OK to
> >restrict the expression to be an integral type (6.11.1) ? Or probably
> >that was the intension initially but never got documented.
> >
> >Comments ?
> >
> >Thanks.
> >Manisha
> >
> >--
> >This message has been scanned for viruses and
> >dangerous content by MailScanner, and is
> >believed to be clean.
> >
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>

---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Nov 17 23:01:32 2010

This archive was generated by hypermail 2.1.8 : Wed Nov 17 2010 - 23:04:20 PST