Re: Attributes and constant expressions

From: Stuart Sutherland (stuart@sutherland-hdl.com)
Date: Wed Oct 24 2001 - 01:43:51 PDT


Precedence: bulk

I believe the standard very clealy states that a genvar is only valid at
elaboration time. It therefore would have no value during simulation time,
and therefore should not be a legal expression in an attribute.

Just my opinion.

Stu

At 09:13 PM 10/23/2001, you wrote:
>Precedence: bulk
>
>Another question about attributes. The rule is that an attribute must be
>associated with a constant expression:
>
> (* parallel_case = 1 *) case (x) ...
>
>Can the constant expression depend on parameters? On constant functions?
>On genvars?
>
>Paul

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Stuart Sutherland Sutherland HDL Inc.
stuart@sutherland-hdl.com 22805 SW 92nd Place
phone: 503-692-0898 Tualatin, OR 97062
www.sutherland-hdl.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:54:48 PDT and
sponsored by Boyd Technology, Inc.