RE: [sv-bc] RE: [sv-ec] Are variable-width part selects already part of the SV language? (Mantis 2684)

From: Bresticker, Shalom <shalom.bresticker@intel.com>
Date: Mon May 10 2010 - 08:10:47 PDT

I don't see how a parameterized function would help. Function parameter overrides also have to be constants.

Shalom

> -----Original Message-----
> From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On
> Behalf Of Brad Pierce
> Sent: Monday, May 10, 2010 6:08 PM
> To: Steven Sharp
> Cc: sv-bc@eda.org; sv-ec@eda.org
> Subject: Re: [sv-bc] RE: [sv-ec] Are variable-width part
> selects already part of the SV language? (Mantis 2684)
>
> > It can't be used within an expression, without wrapping it
> in a function first.
>
> Shalom said that he only needed it in an assignment-like context.
>
> If he needed it an expression, he could wrap it in a parameterized
> function, if we added those to the language.
>
> When someone asks for a syntax enhancement, let's also consider
> whether the real need might be for an extensibility enhancement.
>
> -- Brad
---------------------------------------------------------------------
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 Mon May 10 08:12:11 2010

This archive was generated by hypermail 2.1.8 : Mon May 10 2010 - 08:14:49 PDT